[PATCH 09/14] mtd: rawnand: omap2: Suppress error message after WARN in .remove()

Miquel Raynal miquel.raynal at bootlin.com
Thu Jun 9 06:09:39 PDT 2022


On Fri, 2022-06-03 at 21:07:53 UTC, =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= wrote:
> Returning an error value in a platform remove callback results in an error
> message being emitted by the platform core, but otherwise it doesn't make
> a difference. After the WARN splat this generic error message doesn't add
> any value, so return 0 unconditionally
> 
> 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 mtd/next, thanks.

Miquel



More information about the linux-mtd mailing list