USB: berry_charge: correct dbg string for second magic command
authorKen L Johnson <ken@novell.com>
Fri, 16 Mar 2007 16:17:31 +0000 (10:17 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 19 Mar 2007 20:22:19 +0000 (13:22 -0700)
I was testing the berry_charge module with my Blackberry 8700c and had
great success, thanks. Looking at the code for my own learning I noticed
the following cut and paste error... just a nit.

Signed-off-by: Ken L Johnson <ken@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/berry_charge.c

index 60893c6c822113b8f298bae7bc101cef79e7aec5..b15f2fd8dab459b7ef4ea581f4192e7aae4c5c75 100644 (file)
@@ -69,7 +69,7 @@ static int magic_charge(struct usb_device *udev)
                return retval;
        }
 
-       dbg(&udev->dev, "Sending first magic command\n");
+       dbg(&udev->dev, "Sending second magic command\n");
        retval = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0),
                                 0xa2, 0x40, 0, 1, dummy_buffer, 0, 100);
        if (retval != 0) {