Alan Stern
cef9bc56e1
Dynamic ID addition doesn't need get_driver()
...
As part of the removal of get_driver()/put_driver(), this patch
(as1511) changes all the places that add dynamic IDs for drivers.
Since these additions are done by writing to the drivers' sysfs
attribute files, and the attributes are removed when the drivers are
unregistered, there is no reason to take an extra reference to the
drivers.
The one exception is the pci-stub driver, which calls pci_add_dynid()
as part of its registration. But again, there's no reason to take an
extra reference here, because the driver can't be unloaded while it is
being registered.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Dmitry Torokhov <dmitry.torokhov@gmail.com>
CC: Jiri Kosina <jkosina@suse.cz>
CC: Jesse Barnes <jbarnes@virtuousgeek.org>
CC: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2012-01-24 16:00:35 -08:00
..
usbhid
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
2012-01-10 10:48:28 -08:00
hid-a4tech.c
hid-apple.c
hid/apple: modern macbook airs use the standard apple function key translations
2011-11-06 18:34:03 -08:00
hid-axff.c
hid: Add module.h to fix up implicit users of it
2011-10-31 19:31:17 -04:00
hid-belkin.c
hid-cherry.c
hid-chicony.c
hid-core.c
Dynamic ID addition doesn't need get_driver()
2012-01-24 16:00:35 -08:00
hid-cypress.c
hid-debug.c
Merge branches 'hyperv', 'multitouch', 'roccat', 'upstream', 'upstream-fixes', 'wacom' and 'wiimote' into for-linus
2012-01-05 15:51:02 +01:00
hid-dr.c
hid: Add module.h to fix up implicit users of it
2011-10-31 19:31:17 -04:00
hid-elecom.c
hid-emsff.c
Merge branches 'hyperv', 'multitouch', 'roccat', 'upstream', 'upstream-fixes', 'wacom' and 'wiimote' into for-linus
2012-01-05 15:51:02 +01:00
hid-ezkey.c
hid-gaff.c
hid: Add module.h to fix up implicit users of it
2011-10-31 19:31:17 -04:00
hid-gyration.c
hid-holtekff.c
hid: Add module.h to fix up implicit users of it
2011-10-31 19:31:17 -04:00
hid-hyperv.c
HID: hv_mouse: Properly add the hid device
2011-12-01 20:53:57 +01:00
hid-ids.h
Merge branch 'hid-battery' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen into for-linus
2012-01-09 11:24:59 +01:00
hid-input.c
Merge branch 'hid-battery' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen into for-linus
2012-01-09 11:24:59 +01:00
hid-kensington.c
hid-keytouch.c
hid-kye.c
hid-lcpower.c
hid-lg.c
hid-lg.h
hid-lg2ff.c
hid-lg3ff.c
hid-lg4ff.c
HID: hid-lg4ff: Casting (void *) value returned by kmalloc is useless
2011-11-11 15:09:29 +01:00
hid-lgff.c
hid-logitech-dj.c
HID: hid-logitech-dj: fix off by one
2011-09-20 16:09:22 +02:00
hid-logitech-dj.h
HID: hid-logitech-dj: fix off by one
2011-09-20 16:09:22 +02:00
hid-magicmouse.c
HID: hid-magicmouse: Magic Trackpad has 1 button, not 2
2011-10-21 10:13:55 +02:00
hid-microsoft.c
hid-monterey.c
hid-multitouch.c
Merge branches 'hyperv', 'multitouch', 'roccat', 'upstream', 'upstream-fixes', 'wacom' and 'wiimote' into for-linus
2012-01-05 15:51:02 +01:00
hid-ntrig.c
hid-ortek.c
hid-petalynx.c
hid-picolcd.c
Merge branches 'hyperv', 'multitouch', 'roccat', 'upstream', 'upstream-fixes', 'wacom' and 'wiimote' into for-linus
2012-01-05 15:51:02 +01:00
hid-pl.c
misc latin1 to utf8 conversions
2012-01-02 13:04:55 +01:00
hid-primax.c
HID: support primax keyboards violating USB HID spec
2011-10-17 17:04:41 +02:00
hid-prodikeys.c
module_param: make bool parameters really bool (drivers & misc)
2012-01-13 09:32:20 +10:30
hid-roccat-arvo.c
hid-roccat-arvo.h
hid-roccat-common.c
Merge branches 'hyperv', 'multitouch', 'roccat', 'upstream', 'upstream-fixes', 'wacom' and 'wiimote' into for-linus
2012-01-05 15:51:02 +01:00
hid-roccat-common.h
hid-roccat-isku.c
HID: roccat: Add support for Isku keyboard
2011-12-06 10:21:10 +01:00
hid-roccat-isku.h
HID: roccat: Add support for Isku keyboard
2011-12-06 10:21:10 +01:00
hid-roccat-kone.c
HID: roccat: Use kmemdup rather than duplicating its implementation
2011-11-20 00:42:42 +01:00
hid-roccat-kone.h
hid-roccat-koneplus.c
hid-roccat-koneplus.h
hid-roccat-kovaplus.c
HID: roccat: Kovaplus now reports external profile changes via roccat device
2011-09-07 13:38:27 +02:00
hid-roccat-kovaplus.h
hid-roccat-pyra.c
HID: roccat: Pyra now reports external profile changes via roccat device
2011-09-07 13:38:27 +02:00
hid-roccat-pyra.h
hid-roccat.c
Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux
2011-11-06 19:44:47 -08:00
hid-samsung.c
hid-sjoy.c
hid: Add module.h to fix up implicit users of it
2011-10-31 19:31:17 -04:00
hid-sony.c
hid-speedlink.c
hid-sunplus.c
hid-tmff.c
hid: Add module.h to fix up implicit users of it
2011-10-31 19:31:17 -04:00
hid-topseed.c
hid-twinhan.c
misc latin1 to utf8 conversions
2012-01-02 13:04:55 +01:00
hid-uclogic.c
hid-wacom.c
Merge git://git.infradead.org/battery-2.6
2012-01-11 18:53:05 -08:00
hid-waltop.c
hid-wiimote-core.c
Merge git://git.infradead.org/battery-2.6
2012-01-11 18:53:05 -08:00
hid-wiimote-debug.c
HID: wiimote: Allow direct DRM debug access
2011-11-22 23:11:10 +01:00
hid-wiimote-ext.c
HID: wiimote: Parse classic controller data
2011-11-22 23:10:10 +01:00
hid-wiimote.h
HID: wiimote: Allow direct DRM debug access
2011-11-22 23:11:10 +01:00
hid-zpff.c
hid: Add module.h to fix up implicit users of it
2011-10-31 19:31:17 -04:00
hid-zydacron.c
hidraw.c
Merge branch 'upstream' into for-linus
2011-10-25 09:59:04 +02:00
Kconfig
Merge branches 'hyperv', 'multitouch', 'roccat', 'upstream', 'upstream-fixes', 'wacom' and 'wiimote' into for-linus
2012-01-05 15:51:02 +01:00
Makefile
Merge branches 'hyperv', 'multitouch', 'roccat', 'upstream', 'upstream-fixes', 'wacom' and 'wiimote' into for-linus
2012-01-05 15:51:02 +01:00