projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1b123c
)
net: mdio-mux: printing driver version is useless
author
Corentin Labbe
<
[email protected]
>
Fri, 1 Sep 2017 11:56:02 +0000
(13:56 +0200)
committer
David S. Miller
<
[email protected]
>
Fri, 1 Sep 2017 17:26:31 +0000
(10:26 -0700)
Remove the driver version information because this information
is not useful in an upstream kernel driver.
Signed-off-by: Corentin Labbe <
[email protected]
>
Reviewed-by: Andrew Lunn <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/phy/mdio-mux.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/mdio-mux.c
b/drivers/net/phy/mdio-mux.c
index 5e08e89465c52e11d3bfc04272a90705da59ce35..282828551bdd45c6614077536dc5d096dce130c6 100644
(file)
--- a/
drivers/net/phy/mdio-mux.c
+++ b/
drivers/net/phy/mdio-mux.c
@@
-13,7
+13,6
@@
#include <linux/module.h>
#include <linux/phy.h>
-#define DRV_VERSION "1.0"
#define DRV_DESCRIPTION "MDIO bus multiplexer driver"
struct mdio_mux_child_bus;
@@
-179,7
+178,6
@@
int mdio_mux_init(struct device *dev,
}
if (pb->children) {
*mux_handle = pb;
- dev_info(dev, "Version " DRV_VERSION "\n");
return 0;
}
@@
-212,6
+210,5
@@
void mdio_mux_uninit(void *mux_handle)
EXPORT_SYMBOL_GPL(mdio_mux_uninit);
MODULE_DESCRIPTION(DRV_DESCRIPTION);
-MODULE_VERSION(DRV_VERSION);
MODULE_AUTHOR("David Daney");
MODULE_LICENSE("GPL");