mtd: nand: sunxi: Pass the device to the init function
authorSamuel Holland <samuel@sholland.org>
Sun, 22 Jan 2023 22:06:36 +0000 (16:06 -0600)
committerAndre Przywara <andre.przywara@arm.com>
Fri, 28 Apr 2023 00:06:57 +0000 (01:06 +0100)
commit2a6805b5fa701a9dfc7fbd36965211fad613996d
tree60b31b6d6390fc395cb6d8320a6f48b316df69eb
parent21b790fd49c208b602c0b024e0bda0064f75a0d8
mtd: nand: sunxi: Pass the device to the init function

This more closely matches the U-Boot driver to the Linux version.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Michael Trimarchi <micahel@amarulasolutions.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/mtd/nand/raw/sunxi_nand.c