drivers: Drop dummy_porbe()
PATCH 1/1 drivers: Drop dummy_porbe()
Drop dummy_porbe() due to lack of users in the tree.
Signed-off-by Andrey Smirnov <[email protected]>
--- drivers/base/driver.c | 6 ------ include/driver.h | 3 --- 2 files changed, 9 deletions(-)
drivers/base/driver.c +0 -6
@@ -439,12 +439,6 @@ int generic_memmap_ro(struct cdev *cdev, void **map, int flags)return generic_memmap_rw (cdev, map, flags); } -int dummy_probe (struct device_d *dev) -{ -return 0 ; -} -EXPORT_SYMBOL (dummy_probe); -/** * dev_set_name - set a device name * @dev: device
include/driver.h +0 -3
@@ -353,9 +353,6 @@ struct cdev;ssize_t mem_read (struct cdev *cdev,void *buf,size_t count,loff_t offset,ulong flags);ssize_t mem_write (struct cdev *cdev,const void *buf,size_t count,loff_t offset,ulong flags); -/* Use this if you have nothing to do in your drivers probe function */ -int dummy_probe (struct device_d *); -int generic_memmap_ro (struct cdev *dev,void **map,int flags);int generic_memmap_rw (struct cdev *dev,void **map,int flags);
Signature · 7 lines
2.20.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 7 lines · Andrey Smirnov
Drop
dummy_porbe()due to lack of users in the tree.Signed-off-by Andrey Smirnov <[email protected]>--- drivers/base/driver.c | 6 ------ include/driver.h | 3 --- 2 files changed, 9 deletions(-)
Applied, thanks
Sascha
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
$Subject ~= s/porbe/probe/
Best regards
Uwe
Signature · 7 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 1 line · Uwe Kleine-König
$Subject ~= s/porbe/probe/
Yes, I fixed that.
Sascha
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox