[PATCH] mtd: rawnand: sh_flctl: Convert to module_platform_driver()
Miquel Raynal
miquel.raynal at bootlin.com
Fri Oct 27 10:47:26 PDT 2023
On Mon, 2023-10-16 at 10:35:41 UTC, =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= wrote:
> The driver doesn't benefit from the advantages that
> module_platform_driver_probe() allows (i.e. putting the probe function
> in .init.text and the .remove function into .exit.text).
> So use module_platform_driver() instead which allows to bind the driver
> also after booting (or module loading) and unbinding via sysfs.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
More information about the linux-mtd
mailing list