Commit 43adab7f authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Miquel Raynal

mtd: rawnand: meson: Drop cleaning platform data in .remove()

The driver core cares for unsetting platform data (see
device_unbind_cleanup()) on remove.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220603210758.148493-13-u.kleine-koenig@pengutronix.de
parent 7beae694
......@@ -1445,8 +1445,6 @@ static int meson_nfc_remove(struct platform_device *pdev)
meson_nfc_disable_clk(nfc);
platform_set_drvdata(pdev, NULL);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment