Re: [PATCH u-boot-dm + u-boot-spi v2 6/7] mtd: remove mtd_probe function

2021-02-10 Thread Pali Rohár
On Tuesday 09 February 2021 15:44:51 Marek Behún wrote: > 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

[PATCH u-boot-dm + u-boot-spi v2 6/7] mtd: remove mtd_probe function

2021-02-09 Thread Marek Behún
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 Cc: Jagan Teki Cc: Priyanka Jain Cc: Simon Glass Cc: Heiko