aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/raw/atmel/nand-controller.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2020-05-29 11:13:12 +0000
committerMiquel Raynal <[email protected]>2020-06-26 06:35:06 +0000
commite0160cd41fb81fde9ee4612a7ea2dfd631de2638 (patch)
tree2969b088000602d771707dbf4d55c5f52c082a8a /drivers/mtd/nand/raw/atmel/nand-controller.c
parentmtd: rawnand: timings: Use default values for tPROG_max and tBERS_max (diff)
downloadkernel-e0160cd41fb81fde9ee4612a7ea2dfd631de2638.tar.gz
kernel-e0160cd41fb81fde9ee4612a7ea2dfd631de2638.zip
mtd: rawnand: Hide the chip->data_interface indirection
As a preparation for allocating the data interface structure dynamically (and rename it), let's avoid accessing chip->data_interface directly. Instead, we introduce a helper, nand_get_interface_config(), and use it to retrieve the current data interface configuration out of a nand_chip object. Signed-off-by: Miquel Raynal <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'drivers/mtd/nand/raw/atmel/nand-controller.c')
0 files changed, 0 insertions, 0 deletions