goto exit;
        }
 
-       info("adutux " DRIVER_DESC " " DRIVER_VERSION);
-       info("adutux is an experimental driver. Use at your own risk");
+       printk(KERN_INFO "adutux " DRIVER_DESC " " DRIVER_VERSION "\n");
+       printk(KERN_INFO "adutux is an experimental driver. "
+              "Use at your own risk\n");
 
 exit:
        dbg(2," %s : leave, return value %d", __func__, result);
 
                return result;
        }
 
-       info(DRIVER_VERSION ":" DRIVER_DESC);
+       printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
+              DRIVER_DESC "\n");
        return 0;
 }
 
 
 static int emi26_set_reset (struct usb_device *dev, unsigned char reset_bit)
 {
        int response;
-       info("%s - %d", __func__, reset_bit);
+       dev_info(&dev->dev, "%s - %d\n", __func__, reset_bit);
        /* printk(KERN_DEBUG "%s - %d", __func__, reset_bit); */
        response = emi26_writememory (dev, CPUCS_REG, &reset_bit, 1, 0xa0);
        if (response < 0) {
 {
        struct usb_device *dev = interface_to_usbdev(intf);
 
-       info("%s start", __func__);
+       dev_info(&intf->dev, "%s start\n", __func__);
 
        emi26_load_firmware(dev);
 
 
 static int emi62_set_reset (struct usb_device *dev, unsigned char reset_bit)
 {
        int response;
-       info("%s - %d", __func__, reset_bit);
+       dev_info(&dev->dev, "%s - %d\n", __func__, reset_bit);
        
        response = emi62_writememory (dev, CPUCS_REG, &reset_bit, 1, 0xa0);
        if (response < 0) {
        struct usb_device *dev = interface_to_usbdev(intf);
        dev_dbg(&intf->dev, "emi62_probe\n");
 
-       info("%s start", __func__);
+       dev_info(&intf->dev, "%s start\n", __func__);
 
        emi62_load_firmware(dev);
 
 
                mutex_unlock(&dev->lock);
        }
 
-       info("%s disconnected", DRIVER_DESC);
+       dev_info(&interface->dev, "disconnected\n");
 }
 
 static int __init usb_idmouse_init(void)
 {
        int result;
 
-       info(DRIVER_DESC " " DRIVER_VERSION);
+       printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
+              DRIVER_DESC "\n");
 
        /* register this driver with the USB subsystem */
        result = usb_register(&idmouse_driver);
 
 
        dbg(2, "%s: enter", __func__);
 
-       if (udev == NULL) {
-               info ("udev is NULL.");
-       }
+       if (udev == NULL)
+               dev_info(&interface->dev, "udev is NULL.\n");
 
        /* allocate memory for our device state and initialize it */
 
        dev->minor = interface->minor;
 
        /* let the user know what node this device is now attached to */
-       info ("LEGO USB Tower #%d now attached to major %d minor %d", (dev->minor - LEGO_USB_TOWER_MINOR_BASE), USB_MAJOR, dev->minor);
+       dev_info(&interface->dev, "LEGO USB Tower #%d now attached to major "
+                "%d minor %d\n", (dev->minor - LEGO_USB_TOWER_MINOR_BASE),
+                USB_MAJOR, dev->minor);
 
        /* get the firmware version and log it */
        result = usb_control_msg (udev,
                retval = result;
                goto error;
        }
-       info("LEGO USB Tower firmware version is %d.%d build %d",
-            get_version_reply.major,
-            get_version_reply.minor,
-            le16_to_cpu(get_version_reply.build_no));
+       dev_info(&interface->dev, "LEGO USB Tower firmware version is %d.%d "
+                "build %d\n", get_version_reply.major,
+                get_version_reply.minor,
+                le16_to_cpu(get_version_reply.build_no));
 
 
 exit:
                mutex_unlock(&dev->lock);
        }
 
-       info("LEGO USB Tower #%d now disconnected", (minor - LEGO_USB_TOWER_MINOR_BASE));
+       dev_info(&interface->dev, "LEGO USB Tower #%d now disconnected\n",
+                (minor - LEGO_USB_TOWER_MINOR_BASE));
 
        dbg(2, "%s: leave", __func__);
 }
                goto exit;
        }
 
-       info(DRIVER_DESC " " DRIVER_VERSION);
+       printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
+              DRIVER_DESC "\n");
 
 exit:
        dbg(2, "%s: leave, return value %d", __func__, retval);
 
 
        mutex_unlock(&(rio->lock));
 
-       info("Rio opened.");
+       dev_info(&rio->rio_dev->dev, "Rio opened.\n");
 
        return 0;
 }
 
        rio->isopen = 0;
 
-       info("Rio closed.");
+       dev_info(&rio->rio_dev->dev, "Rio closed.\n");
        return 0;
 }
 
        struct rio_usb_data *rio = &rio_instance;
        int retval;
 
-       info("USB Rio found at address %d", dev->devnum);
+       dev_info(&intf->dev, "USB Rio found at address %d\n", dev->devnum);
 
        retval = usb_register_dev(intf, &usb_rio_class);
        if (retval) {
                kfree(rio->ibuf);
                kfree(rio->obuf);
 
-               info("USB Rio disconnected.");
+               dev_info(&intf->dev, "USB Rio disconnected.\n");
 
                rio->present = 0;
                mutex_unlock(&(rio->lock));
        if (retval)
                goto out;
 
-       info(DRIVER_VERSION ":" DRIVER_DESC);
+       printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
+              DRIVER_DESC "\n");
 
 out:
        return retval;
 
                return retval;
        }
 
-       info(DRIVER_VERSION ":" DRIVER_DESC);
+       printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
+              DRIVER_DESC "\n");
        return 0;
 }
 
 
 
        i = le16_to_cpu(dev->udev->descriptor.bcdDevice);
 
-       info("USBLCD Version %1d%1d.%1d%1d found at address %d",
-               (i & 0xF000)>>12,(i & 0xF00)>>8,(i & 0xF0)>>4,(i & 0xF),
-               dev->udev->devnum);
+       dev_info(&interface->dev, "USBLCD Version %1d%1d.%1d%1d found "
+                "at address %d\n", (i & 0xF000)>>12, (i & 0xF00)>>8,
+                (i & 0xF0)>>4,(i & 0xF), dev->udev->devnum);
 
        /* let the user know what node this device is now attached to */
-       info("USB LCD device now attached to USBLCD-%d", interface->minor);
+       dev_info(&interface->dev, "USB LCD device now attached to USBLCD-%d\n",
+                interface->minor);
        return 0;
 
 error:
        /* decrement our usage count */
        kref_put(&dev->kref, lcd_delete);
 
-       info("USB LCD #%d now disconnected", minor);
+       dev_info(&interface->dev, "USB LCD #%d now disconnected\n", minor);
 }
 
 static struct usb_driver lcd_driver = {
 
        if (retval)
                goto out;
 
-       info(DRIVER_VERSION ":" DRIVER_DESC);
-       info("NOTE: this is a special purpose driver to allow nonstandard");
-       info("protocols (eg. bitbang) over USS720 usb to parallel cables");
-       info("If you just want to connect to a printer, use usblp instead");
+       printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
+              DRIVER_DESC "\n");
+       printk(KERN_INFO KBUILD_MODNAME ": NOTE: this is a special purpose "
+              "driver to allow nonstandard\n");
+       printk(KERN_INFO KBUILD_MODNAME ": protocols (eg. bitbang) over "
+              "USS720 usb to parallel cables\n");
+       printk(KERN_INFO KBUILD_MODNAME ": If you just want to connect to a "
+              "printer, use usblp instead\n");
 out:
        return retval;
 }