aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/rb532/devices.c
diff options
context:
space:
mode:
authorBoris BREZILLON <[email protected]>2015-11-16 14:37:35 +0100
committerBrian Norris <[email protected]>2015-11-19 11:09:10 -0800
commit9eba47ddd8fee8a21f45e6e1d707103f040d90c7 (patch)
tree7bf16fea722d3dacc27108df792ce6920aa12487 /arch/mips/rb532/devices.c
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
mtd: nand: add an mtd_to_nand() helper
Some drivers are retrieving the nand_chip pointer using the container_of macro on a struct wrapping both the nand_chip and the mtd_info struct while the standard way of retrieving this pointer is through mtd->priv. Provide an helper to do that. Signed-off-by: Boris Brezillon <[email protected]> Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'arch/mips/rb532/devices.c')
0 files changed, 0 insertions, 0 deletions