aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-cp2112.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-04-20 13:22:13 +0200
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-04-23 18:02:57 +0200
commit0610430e3dea51c9a00565af685745898048fa2b (patch)
tree8dc2bbd9fc6f3b0a5ffe06ed9ce1518c417906de /drivers/hid/hid-cp2112.c
parentHID: logitech-hidpp: do not hardcode very long report length (diff)
downloadlinux-dev-0610430e3dea51c9a00565af685745898048fa2b.tar.xz
linux-dev-0610430e3dea51c9a00565af685745898048fa2b.zip
HID: logitech-hidpp: add input_device ptr to struct hidpp_device
Most device-class specific code needs access to the input_device, instead of storing that in the class specific data-struct, simply store this into the hidpp_device struct itself. In case of the m560 this avoids the need for having private data at all and this will also avoid the need to add private data in some upcoming patches. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/hid/hid-cp2112.c')
0 files changed, 0 insertions, 0 deletions