HID: API - fix leftovers of hidinput API in USB HID
authorJiri Kosina <jkosina@suse.cz>
Wed, 24 Jan 2007 10:54:19 +0000 (11:54 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 5 Feb 2007 09:00:40 +0000 (10:00 +0100)
commit7c379146005d277982acde02da44c773de5e7e5a
tree8a1bbbdabd357f11ec84e5e793539863139ffa71
parentc080d89ad91e98fec0e8fc5f448a1ad899bd85c7
HID: API - fix leftovers of hidinput API in USB HID

hidinput_{open,close}() functions do not belong to usbhid, but
to the generic HID layer. Move them, and fix hooks in struct
hid_device, so that now the callbacks are done to transport-specific
_open() functions, but not input_open() functions.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c
drivers/usb/input/hid-core.c
include/linux/hid.h