Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afa5eb7c authored by Jiri Slaby's avatar Jiri Slaby Committed by Jiri Kosina
Browse files

HID: remove compat stuff



This removal was scheduled and there is no problem with later
distros to adapt for the new bus, thanks to aliases.

module-init-tools map files are deprecated nowadays, so that
the patch which introduced hid ones into the m-i-t won't be
accepted and hence there is no reason for leaving compat stuff in.

Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent b2ddd54e
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -273,13 +273,6 @@ Who: Glauber Costa <gcosta@redhat.com>

---------------------------

What:	remove HID compat support
When:	2.6.29
Why:	needed only as a temporary solution until distros fix themselves up
Who:	Jiri Slaby <jirislaby@gmail.com>

---------------------------

What: print_fn_descriptor_symbol()
When: October 2009
Why:  The %pF vsprintf format provides the same functionality in a
+0 −12
Original line number Diff line number Diff line
@@ -70,18 +70,6 @@ source "drivers/hid/usbhid/Kconfig"
menu "Special HID drivers"
	depends on HID

config HID_COMPAT
	bool "Load all HID drivers on hid core load"
	default y
	---help---
	Compatible option for older userspace. If you have system without udev
	support of module loading through aliases and also old
	module-init-tools which can't handle hid bus, choose Y here. Otherwise
	say N. If you say N and your userspace is old enough, the only
	functionality you lose is modules autoloading.

	If unsure, say Y.

config HID_A4TECH
	tristate "A4 tech" if EMBEDDED
	depends on USB_HID
+0 −4
Original line number Diff line number Diff line
@@ -8,10 +8,6 @@ obj-$(CONFIG_HID) += hid.o
hid-$(CONFIG_HID_DEBUG)		+= hid-debug.o
hid-$(CONFIG_HIDRAW)		+= hidraw.o

ifdef CONFIG_HID_COMPAT
obj-m				+= hid-dummy.o
endif

hid-logitech-objs		:= hid-lg.o
ifdef CONFIG_LOGITECH_FF
	hid-logitech-objs	+= hid-lgff.o
+0 −2
Original line number Diff line number Diff line
@@ -158,5 +158,3 @@ static void a4_exit(void)
module_init(a4_init);
module_exit(a4_exit);
MODULE_LICENSE("GPL");

HID_COMPAT_LOAD_DRIVER(a4tech);
+0 −2
Original line number Diff line number Diff line
@@ -474,5 +474,3 @@ static void apple_exit(void)
module_init(apple_init);
module_exit(apple_exit);
MODULE_LICENSE("GPL");

HID_COMPAT_LOAD_DRIVER(apple);
Loading