diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-29 14:13:12 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-06-26 09:35:06 +0300 |
commit | e0160cd41fb81fde9ee4612a7ea2dfd631de2638 (patch) | |
tree | 2969b088000602d771707dbf4d55c5f52c082a8a /mm/kasan | |
parent | d1bfe1e31932822ee90fc6b4cdeae785f70b3650 (diff) | |
download | linux-e0160cd41fb81fde9ee4612a7ea2dfd631de2638.tar.xz |
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 <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200529111322.7184-19-miquel.raynal@bootlin.com
Diffstat (limited to 'mm/kasan')
0 files changed, 0 insertions, 0 deletions