[PATCH 0/4] mtd: Convert to platform remove callback returning (part II)

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Nov 2 15:02:47 PDT 2023


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 at 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
-- 
2.42.0




More information about the linux-arm-kernel mailing list