summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/sunxi_nand.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2018-04-19 16:06:00 +0200
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-04-29 08:56:42 +0200
commit87ed67ba65225fa0e23d39f2eaec55d1b2eaa2aa (patch)
treeb2e568945a4f324e84454f073b67522b5dfedb25 /drivers/mtd/nand/raw/sunxi_nand.c
parent3855f66c8fdb30e0e9cc67003279af2c52451a7f (diff)
mtd: onenand: simplify getting .drvdata
We should get drvdata from struct device directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/sunxi_nand.c')
0 files changed, 0 insertions, 0 deletions