From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 58E7DC761AF for ; Mon, 3 Apr 2023 19:51:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bQhdWE+gsjSwYIuIvMDtb1mogpcUG9bpFuHzotrfIDQ=; b=q2J2YImwVmqeeT 4eo7wzGDPmEjLQZEXa6osWq37Ei3YZth8mlLEy7CUkNrJrO84eOcAhZCfcn5lyyU/JbRvPk8Y+Ayq jdR04GNWBH/ZT6PyFJBuOQRg/MD/T++RJHvrzqkj9XxKmD7gDjYg341Rj8y0wkYy95Goyu7/RbApc 1UnKNbG/dENJErXhP8xSBSNEzrTJVXjWc9uHWyLTvwbzec/TXl+GuKt42b+0KrQMo7A+DyAxkZZ5L aHApmpz4/kzIbsixSzGVOiqOh3rzFRKe8y2Py9uegBSMvfpT0Js+PwjP8UKmbzm6d9C/4ltLzUtTf gwcf+LZj80+MLGN6Nvkw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjQCZ-00GUa9-0H; Mon, 03 Apr 2023 19:50:51 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjQCU-00GUXY-2S; Mon, 03 Apr 2023 19:50:48 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3E30762944; Mon, 3 Apr 2023 19:50:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B83EEC4339B; Mon, 3 Apr 2023 19:50:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1680551445; bh=lOZoZur0dlMwg23s/E6ookGvEsUZzxEjsaf7n78uxD0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nEBMvaSDo6Kx3uTTuk0gcIjpmL+QxmtvplsE3iV+Yad8oVUuYckRsG32R0nXIl7RF df7SulQgWa+RfGcINl7HL+vcKeBJS6LuhRgnjoJDfbS2hMh3ZIjZ5Daw8Yc0FSZbkY koEdBw32GguOTg412wDd6ymUfsqZp5iBNOEaSJDk= Date: Mon, 3 Apr 2023 21:50:42 +0200 From: Greg Kroah-Hartman To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Deepak R Varma , Yuan Can , Simon Horman , Sven Van Asbroeck , Vaibhav Hiremath , Johan Hovold , Alex Elder , Eugen Hristev , Mauro Carvalho Chehab , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Steve Longerbeam , Philipp Zabel , Shawn Guo , Sascha Hauer , Neil Armstrong , Kevin Hilman , Laurent Pinchart , Ezequiel Garcia , Maxime Ripard , Paul Kocialkowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Parthiban Veerasooran , Christian Gromm , Davidlohr Bueso , Marc Dietrich , Florian Fainelli , Ray Jui , Scott Branden , Umang Jain , Andy Shevchenko , Adrien Thierry , Stefan Wahren , "Fabio M. De Francesco" , Phil Elwell , Jakob Koschel , linux-staging@lists.linux.dev, kernel@pengutronix.de, greybus-dev@lists.linaro.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Fabio Estevam , NXP Linux Team , Jerome Brunet , Martin Blumenstingl , linux-amlogic@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-sunxi@lists.linux.dev, ac100@lists.launchpad.net, linux-tegra@vger.kernel.org, Broadcom internal kernel review list , linux-rpi-kernel@lists.infradead.org Subject: Re: [PATCH 00/24] staging: Convert to platform remove callback returning void Message-ID: <2023040305-drudge-scorer-b59c@gregkh> References: <20230403154014.2564054-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230403154014.2564054-1-u.kleine-koenig@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230403_125046_899262_42D1001D X-CRM114-Status: GOOD ( 19.08 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On Mon, Apr 03, 2023 at 05:39:50PM +0200, Uwe Kleine-K=F6nig wrote: > Hello, > = > this series adapts the platform drivers below drivers/staging to use the > .remove_new() callback. Compared to the traditional .remove() callback > .remove_new() returns no value. This is a good thing because the driver > core doesn't (and cannot) cope for errors during remove. The only effect > of a non-zero return value in .remove() is that the driver core emits a > warning. The device is removed anyhow and an early return from .remove() > usually yields a resource leak. > = > By changing the remove callback to return void driver authors cannot > reasonably assume any more that there is some kind of cleanup later. > = > All drivers in staging already return zero in their remove callback, so > they can be trivially converted. > = > The changes to the individual drivers are all orthogonal. If I need to > resend some patches because of some review feedback, I'd like to only > send the patches that actually needed changes, so please pick up the > remaining patches that don't need changing to reduce the amount of mail. Note, I can't take drivers/staging/media/ patches, those go through the v4l maintainer's tree. So I've taken the non-media patches from this series now. thanks, greg k-h _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip