From patchwork Thu Nov 2 22:02:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13444210 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 5E47AC4332F for ; Thu, 2 Nov 2023 22:03:44 +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:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=DLajJRknyb7mAgCBFUdrripJQjKWLMTi/2etrJvns0I=; b=zcyPh3FJckOQKI qfcqPsWUN0KE8QtR2e2+vV5egx0tgFu2JsjwUSFJVzZ+6pZkL/qYPAeLFynSfwWYa5UoY8flEgcva mHZd4lp+t5T00RubwW/Pxb0Gq2LsT//V7Hl2ABVWd0n2SA8Ftk7KB+c9zLjp3CVGGX8OjPs3B29zq 4KVkMLUAJzaxu97XfeUL1VzbHCVBFIzg96hFvO+Lj0OvfS5o9xR5CqIqqUEflmKiMxuD4CmxrnJcs FwfZ60OsJ6JQ9/GJg0fcEOcgJjB9NAIzPZ6Bi5Y4SfJ8XBeL36zigbKJcFhWhSO2Re5fg7GyVhED9 OnIk0Vx35jBCm3IwlX6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qyfmW-00ALn6-01; Thu, 02 Nov 2023 22:03:16 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qyfmR-00ALkq-2c for linux-arm-kernel@lists.infradead.org; Thu, 02 Nov 2023 22:03:14 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qyfmF-0007aD-W9; Thu, 02 Nov 2023 23:03:00 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qyfmE-006AFI-87; Thu, 02 Nov 2023 23:02:58 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qyfmD-00BwFF-Um; Thu, 02 Nov 2023 23:02:57 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Miquel Raynal , Vignesh Raghavendra Cc: Brian Norris , Kamal Dasu , Broadcom internal kernel review list , Richard Weinberger , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , Ray Jui , Scott Branden , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de Subject: [PATCH 0/4] mtd: Convert to platform remove callback returning (part II) Date: Thu, 2 Nov 2023 23:02:47 +0100 Message-ID: <20231102220246.3336154-6-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1721; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=sQWLnUyrccFa20466o/5pTHw6E4ZhGDOfB4JewpElFs=; b=owGbwMvMwMXY3/A7olbonx/jabUkhlQXmfbHb1/E3rUvcFJ/stIyLy3+ivTN6va+z5lx02KSG mRN7rd0MhqzMDByMciKKbLYN67JtKqSi+xc++8yzCBWJpApDFycAjAR81wOhiax2Q8Ff7A1BBY6 dDVcF79voj7DledM03mhU0IdphycXSfjWFeqmMdy+yYU9f7v85/h92uKcu0y8d67P4Sd1k3jYXD NTjkYnVhVG6J6oNH57d5Ip5n2n00ey37guix5p7764K39pvc51xlOYC6dr7dCaMktrS2P5vOUMc 5n7+zySeAN2ya6sL6Gsfj26njfO+ISFX4KzpLeLy8Fn4mfbnQ9rujAE99L/1XdVk5Pb+85c3udX n/6L++bUrsUfun6si6ImPi2OPzI7HKZRu9feqHs/wwX/vhV9+qrU8aC4nUmXbee5oXbb9E21BS6 WJz1ZLXpoxuNEobTkp9YfBZg2mxhlmZo90Zb6JKQ4FUA X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231102_150311_856467_900555A9 X-CRM114-Status: GOOD ( 12.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, this series is the successor to the series "mtd: Convert to platform remove callback returning" sent earlier starting with Message-Id: 20231008200143.196369-1-u.kleine-koenig@pengutronix.de. The brcmnand patch is new, my coccinelle script didn't find that one back then because the remove function is in a different compilation unit than the drivers. The txx9ndfmc driver now was converted to a normal platform_driver first (i.e. one that doesn't use platform_driver_probe()) as suggested/requested by Miquel. With this series all of drivers/mtd doesn't make use of platform_driver::remove any more and so we're ready to change this function according to the plan described in commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") Best regards Uwe Uwe Kleine-König (4): mtd: rawnand: brcmnand: Convert to platform remove callback returning void mtd: rawnand: txx9ndfmc: Switch to module_platform_driver() mtd: rawnand: txx9ndfmc: Drop if block with always false condition mtd: rawnand: txx9ndfmc: Convert to platform remove callback returning void drivers/mtd/nand/raw/brcmnand/bcm63138_nand.c | 2 +- drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c | 2 +- drivers/mtd/nand/raw/brcmnand/bcma_nand.c | 2 +- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 4 +--- drivers/mtd/nand/raw/brcmnand/brcmnand.h | 2 +- drivers/mtd/nand/raw/brcmnand/brcmstb_nand.c | 2 +- drivers/mtd/nand/raw/brcmnand/iproc_nand.c | 2 +- drivers/mtd/nand/raw/txx9ndfmc.c | 13 +++++-------- 8 files changed, 12 insertions(+), 17 deletions(-) base-commit: ab57716449b3438c0136f6f412a2e59e0cf037a9