diff options
Diffstat (limited to 'drivers/pnp/driver.c')
-rw-r--r-- | drivers/pnp/driver.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pnp/driver.c b/drivers/pnp/driver.c index 2fa64a6b25c8..a262762c5b88 100644 --- a/drivers/pnp/driver.c +++ b/drivers/pnp/driver.c | |||
@@ -86,9 +86,6 @@ static int pnp_device_probe(struct device *dev) | |||
86 | pnp_dev = to_pnp_dev(dev); | 86 | pnp_dev = to_pnp_dev(dev); |
87 | pnp_drv = to_pnp_driver(dev->driver); | 87 | pnp_drv = to_pnp_driver(dev->driver); |
88 | 88 | ||
89 | pnp_dbg("match found with the PnP device '%s' and the driver '%s'", | ||
90 | dev->bus_id, pnp_drv->name); | ||
91 | |||
92 | error = pnp_device_attach(pnp_dev); | 89 | error = pnp_device_attach(pnp_dev); |
93 | if (error < 0) | 90 | if (error < 0) |
94 | return error; | 91 | return error; |
@@ -116,6 +113,8 @@ static int pnp_device_probe(struct device *dev) | |||
116 | error = 0; | 113 | error = 0; |
117 | } else | 114 | } else |
118 | goto fail; | 115 | goto fail; |
116 | |||
117 | dev_dbg(dev, "driver attached\n"); | ||
119 | return error; | 118 | return error; |
120 | 119 | ||
121 | fail: | 120 | fail: |