mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] drivers: Drop dummy_porbe()
@ 2019-02-26 20:07 Andrey Smirnov
  2019-02-27  7:37 ` Sascha Hauer
  2019-02-27  9:19 ` Uwe Kleine-König
  0 siblings, 2 replies; 4+ messages in thread
From: Andrey Smirnov @ 2019-02-26 20:07 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov

Drop dummy_porbe() due to lack of users in the tree.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 drivers/base/driver.c | 6 ------
 include/driver.h      | 3 ---
 2 files changed, 9 deletions(-)

diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index 1fd6bbc01..eec2a2d8a 100644
--- a/drivers/base/driver.c
+++ b/drivers/base/driver.c
@@ -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
diff --git a/include/driver.h b/include/driver.h
index 0ed830d29..26c447015 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -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);
 
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drivers: Drop dummy_porbe()
  2019-02-26 20:07 [PATCH] drivers: Drop dummy_porbe() Andrey Smirnov
@ 2019-02-27  7:37 ` Sascha Hauer
  2019-02-27  9:19 ` Uwe Kleine-König
  1 sibling, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2019-02-27  7:37 UTC (permalink / raw)
  To: Andrey Smirnov; +Cc: barebox

On Tue, Feb 26, 2019 at 12:07:12PM -0800, Andrey Smirnov wrote:
> Drop dummy_porbe() due to lack of users in the tree.
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
>  drivers/base/driver.c | 6 ------
>  include/driver.h      | 3 ---
>  2 files changed, 9 deletions(-)

Applied, thanks

Sascha


-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drivers: Drop dummy_porbe()
  2019-02-26 20:07 [PATCH] drivers: Drop dummy_porbe() Andrey Smirnov
  2019-02-27  7:37 ` Sascha Hauer
@ 2019-02-27  9:19 ` Uwe Kleine-König
  2019-02-27 10:53   ` Sascha Hauer
  1 sibling, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2019-02-27  9:19 UTC (permalink / raw)
  To: Andrey Smirnov; +Cc: barebox

$Subject ~= s/porbe/probe/

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drivers: Drop dummy_porbe()
  2019-02-27  9:19 ` Uwe Kleine-König
@ 2019-02-27 10:53   ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2019-02-27 10:53 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: Andrey Smirnov, barebox

On Wed, Feb 27, 2019 at 10:19:06AM +0100, Uwe Kleine-König wrote:
> $Subject ~= s/porbe/probe/

Yes, I fixed that.

Sascha


-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-27 10:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-26 20:07 [PATCH] drivers: Drop dummy_porbe() Andrey Smirnov
2019-02-27  7:37 ` Sascha Hauer
2019-02-27  9:19 ` Uwe Kleine-König
2019-02-27 10:53   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox