diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 23:03:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-16 12:24:45 -0400 |
commit | b0b090e5792fa228b5c825fcc5e1b7b0da7abec9 (patch) | |
tree | 217d6f95fb63c158383beb026e8fb45ce6fd873e /drivers/usb/mon | |
parent | abe9ab8f62203ced11119fb96acc3b8dd107ebc4 (diff) |
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/mon')
-rw-r--r-- | drivers/usb/mon/mon_bin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/mon/mon_bin.c b/drivers/usb/mon/mon_bin.c index 6566fc0a3228..c9de3f027aab 100644 --- a/drivers/usb/mon/mon_bin.c +++ b/drivers/usb/mon/mon_bin.c | |||
@@ -1162,9 +1162,9 @@ int mon_bin_add(struct mon_bus *mbus, const struct usb_bus *ubus) | |||
1162 | if (minor >= MON_BIN_MAX_MINOR) | 1162 | if (minor >= MON_BIN_MAX_MINOR) |
1163 | return 0; | 1163 | return 0; |
1164 | 1164 | ||
1165 | dev = device_create_drvdata(mon_bin_class, ubus? ubus->controller: NULL, | 1165 | dev = device_create(mon_bin_class, ubus ? ubus->controller : NULL, |
1166 | MKDEV(MAJOR(mon_bin_dev0), minor), NULL, | 1166 | MKDEV(MAJOR(mon_bin_dev0), minor), NULL, |
1167 | "usbmon%d", minor); | 1167 | "usbmon%d", minor); |
1168 | if (IS_ERR(dev)) | 1168 | if (IS_ERR(dev)) |
1169 | return 0; | 1169 | return 0; |
1170 | 1170 | ||