]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: remove mtd_probe() function
authorMarek Behún <marek.behun@nic.cz>
Wed, 26 May 2021 12:08:22 +0000 (14:08 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Jun 2021 06:24:07 +0000 (11:54 +0530)
commit5dc60833a17b2d53f2c00a02e06889f1ae9265d4
tree83ceb099eb54406483469b4a2be0251301680345
parenta91c1ef6cb6602cd12b1ae9860b794a8128274cd
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 <marek.behun@nic.cz>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Cc: Priyanka Jain <priyanka.jain@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heiko Schocher <hs@denx.de>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
drivers/mtd/mtd-uclass.c
drivers/mtd/mtd_uboot.c
include/mtd.h