mdio: Demote print from info to debug in mdio_driver_register
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 14 Nov 2016 03:01:17 +0000 (19:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2016 21:40:16 +0000 (16:40 -0500)
While it is useful to know which MDIO driver is being registered, demote
the pr_info() to a pr_debug().

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_device.c

index 9c88e67..43c8fd4 100644 (file)
@@ -144,7 +144,7 @@ int mdio_driver_register(struct mdio_driver *drv)
        struct mdio_driver_common *mdiodrv = &drv->mdiodrv;
        int retval;
 
-       pr_info("mdio_driver_register: %s\n", mdiodrv->driver.name);
+       pr_debug("mdio_driver_register: %s\n", mdiodrv->driver.name);
 
        mdiodrv->driver.bus = &mdio_bus_type;
        mdiodrv->driver.probe = mdio_probe;