]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pnp/driver.c
libata: don't normalize UNKNOWN to NONE after reset
[linux-2.6-omap-h63xx.git] / drivers / pnp / driver.c
index 2fa64a6b25c86d7c69fc053999463c0b6ff3cda0..a262762c5b8836e0dc5091317e43359b67443fc9 100644 (file)
@@ -86,9 +86,6 @@ static int pnp_device_probe(struct device *dev)
        pnp_dev = to_pnp_dev(dev);
        pnp_drv = to_pnp_driver(dev->driver);
 
-       pnp_dbg("match found with the PnP device '%s' and the driver '%s'",
-               dev->bus_id, pnp_drv->name);
-
        error = pnp_device_attach(pnp_dev);
        if (error < 0)
                return error;
@@ -116,6 +113,8 @@ static int pnp_device_probe(struct device *dev)
                error = 0;
        } else
                goto fail;
+
+       dev_dbg(dev, "driver attached\n");
        return error;
 
 fail: