diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-22 03:03:34 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-16 16:24:45 (GMT) |
commit | b0b090e5792fa228b5c825fcc5e1b7b0da7abec9 (patch) | |
tree | 217d6f95fb63c158383beb026e8fb45ce6fd873e /drivers/usb/gadget/printer.c | |
parent | abe9ab8f62203ced11119fb96acc3b8dd107ebc4 (diff) | |
download | linux-fsl-qoriq-b0b090e5792fa228b5c825fcc5e1b7b0da7abec9.tar.xz |
device create: usb: convert device_create_drvdata to device_create
Now that device_create() has been audited, rename things back to the
original call to be sane.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/printer.c')
-rw-r--r-- | drivers/usb/gadget/printer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/printer.c b/drivers/usb/gadget/printer.c index e009008..7a8d4a1 100644 --- a/drivers/usb/gadget/printer.c +++ b/drivers/usb/gadget/printer.c @@ -1360,8 +1360,8 @@ printer_bind(struct usb_gadget *gadget) /* Setup the sysfs files for the printer gadget. */ - dev->pdev = device_create_drvdata(usb_gadget_class, NULL, - g_printer_devno, NULL, "g_printer"); + dev->pdev = device_create(usb_gadget_class, NULL, g_printer_devno, + NULL, "g_printer"); if (IS_ERR(dev->pdev)) { ERROR(dev, "Failed to create device: g_printer\n"); goto fail; |