diff options
| author | Marek Behún <[email protected]> | 2021-05-26 14:08:22 +0200 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2021-06-24 11:54:07 +0530 |
| commit | 69e57c4753dd5428e9e5ed6d1399c8532f744efc (patch) | |
| tree | 83ceb099eb54406483469b4a2be0251301680345 /include/mtd.h | |
| parent | 2d1a9a6b265f79be495201dadf7f3aa315b8a5e3 (diff) | |
mtd: remove mtd_probe() function
The device_probe() function does the same thing as mtd_probe() and
mtd_probe() is only used in mtd_probe_uclass_mtd_devs(), where the
probing can be made simpler by using uclass_foreach_dev_probe macro.
Signed-off-by: Marek Behún <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Tested-by: Patrice Chotard <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Cc: Priyanka Jain <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Diffstat (limited to 'include/mtd.h')
| -rw-r--r-- | include/mtd.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mtd.h b/include/mtd.h index b0f8693386e..b569331edb0 100644 --- a/include/mtd.h +++ b/include/mtd.h @@ -8,7 +8,6 @@ #include <linux/mtd/mtd.h> -int mtd_probe(struct udevice *dev); int mtd_probe_devices(void); void board_mtdparts_default(const char **mtdids, const char **mtdparts); |
