diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2022-01-07 10:46:12 -0800 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-01-23 16:37:18 +0100 |
commit | 8e5913005f7bfcebd1c67df63fb63bcbb3bfc302 (patch) | |
tree | 6d557dc5f6d6ba6ae05f5b1b59b17c81c10a18ca /mm/swap_slots.c | |
parent | 02d1d0e4dfc3fdc5aa05b78e7def00dc1e62257e (diff) |
mtd: rawnand: brcmnand: Allow platform data instantation
Make use of the recently refactored code in brcmnand_init_cs() and
derive the chip-select from the platform data that is supplied. Update
the various code paths to avoid relying on possibly non-existent
resources, too.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220107184614.2670254-8-f.fainelli@gmail.com
Diffstat (limited to 'mm/swap_slots.c')
0 files changed, 0 insertions, 0 deletions