aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/driver.c')
-rw-r--r--drivers/pnp/driver.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pnp/driver.c b/drivers/pnp/driver.c
index e3f7e89c4dfb..527ee764c93f 100644
--- a/drivers/pnp/driver.c
+++ b/drivers/pnp/driver.c
@@ -114,7 +114,6 @@ static int pnp_device_probe(struct device *dev)
114 } else 114 } else
115 goto fail; 115 goto fail;
116 116
117 dev_dbg(dev, "driver attached\n");
118 return error; 117 return error;
119 118
120fail: 119fail:
@@ -211,8 +210,6 @@ struct bus_type pnp_bus_type = {
211 210
212int pnp_register_driver(struct pnp_driver *drv) 211int pnp_register_driver(struct pnp_driver *drv)
213{ 212{
214 pnp_dbg("the driver '%s' has been registered", drv->name);
215
216 drv->driver.name = drv->name; 213 drv->driver.name = drv->name;
217 drv->driver.bus = &pnp_bus_type; 214 drv->driver.bus = &pnp_bus_type;
218 215
@@ -222,7 +219,6 @@ int pnp_register_driver(struct pnp_driver *drv)
222void pnp_unregister_driver(struct pnp_driver *drv) 219void pnp_unregister_driver(struct pnp_driver *drv)
223{ 220{
224 driver_unregister(&drv->driver); 221 driver_unregister(&drv->driver);
225 pnp_dbg("the driver '%s' has been unregistered", drv->name);
226} 222}
227 223
228/** 224/**