diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2022-09-16 15:20:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-24 15:54:37 +0300 |
commit | 4a575865c1ea67018d96acda9b43e5d3d25b2366 (patch) | |
tree | eea5d05da2a1bee23e4e6fef3aee618894c2297e /Documentation/scsi/index.rst | |
parent | d5542923f200f95bddf524f36fd495f78aa28e3c (diff) | |
download | linux-4a575865c1ea67018d96acda9b43e5d3d25b2366.tar.xz |
mtd: allow getting MTD device associated with a specific DT node
MTD subsystem API allows interacting with MTD devices (e.g. reading,
writing, handling bad blocks). So far a random driver could get MTD
device only by its name (get_mtd_device_nm()). This change allows
getting them also by a DT node.
This API is required for drivers handling DT defined MTD partitions in a
specific way (e.g. U-Boot (sub)partition with environment variables).
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220916122100.170016-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/scsi/index.rst')
0 files changed, 0 insertions, 0 deletions