diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-18 16:21:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-17 17:41:09 -0400 |
commit | 1b29a375fb0b79a11a2d18e7bf5f6da422a35025 (patch) | |
tree | b33ff37280cbf8d3bd37e4470b166a23c007eca8 /drivers/usb/misc/emi26.c | |
parent | c197a8db59daf06dc5e77acd5a9681329cb22458 (diff) |
USB: remove info() macro from usb/misc drivers
USB should not be having it's own printk macros, so remove info() and
use the system-wide standard of dev_info() wherever possible.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/misc/emi26.c')
-rw-r--r-- | drivers/usb/misc/emi26.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/emi26.c b/drivers/usb/misc/emi26.c index 4b994a0cd272..1ee72055f468 100644 --- a/drivers/usb/misc/emi26.c +++ b/drivers/usb/misc/emi26.c | |||
@@ -64,7 +64,7 @@ static int emi26_writememory (struct usb_device *dev, int address, | |||
64 | static int emi26_set_reset (struct usb_device *dev, unsigned char reset_bit) | 64 | static int emi26_set_reset (struct usb_device *dev, unsigned char reset_bit) |
65 | { | 65 | { |
66 | int response; | 66 | int response; |
67 | info("%s - %d", __func__, reset_bit); | 67 | dev_info(&dev->dev, "%s - %d\n", __func__, reset_bit); |
68 | /* printk(KERN_DEBUG "%s - %d", __func__, reset_bit); */ | 68 | /* printk(KERN_DEBUG "%s - %d", __func__, reset_bit); */ |
69 | response = emi26_writememory (dev, CPUCS_REG, &reset_bit, 1, 0xa0); | 69 | response = emi26_writememory (dev, CPUCS_REG, &reset_bit, 1, 0xa0); |
70 | if (response < 0) { | 70 | if (response < 0) { |
@@ -254,7 +254,7 @@ static int emi26_probe(struct usb_interface *intf, const struct usb_device_id *i | |||
254 | { | 254 | { |
255 | struct usb_device *dev = interface_to_usbdev(intf); | 255 | struct usb_device *dev = interface_to_usbdev(intf); |
256 | 256 | ||
257 | info("%s start", __func__); | 257 | dev_info(&intf->dev, "%s start\n", __func__); |
258 | 258 | ||
259 | emi26_load_firmware(dev); | 259 | emi26_load_firmware(dev); |
260 | 260 | ||