Home
last modified time | relevance | path

Searched hist:"8 c3e24065e3d37ee4787e6c72aa0ab6460db7598" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/hid/usbhid/
H A Dhid-core.cdiff 8c3e24065e3d37ee4787e6c72aa0ab6460db7598 Wed Dec 21 23:10:45 CST 2022 Thomas Weißschuh <linux@weissschuh.net> HID: usbhid: Make hid_is_usb() non-inline

By making hid_is_usb() a non-inline function the lowlevel usbhid driver
does not have to be exported anymore.

Also mark the argument as const as it is not modified.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: David Rheinsberg <david.rheinsberg@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
/openbmc/linux/include/linux/
H A Dhid.hdiff 8c3e24065e3d37ee4787e6c72aa0ab6460db7598 Wed Dec 21 23:10:45 CST 2022 Thomas Weißschuh <linux@weissschuh.net> HID: usbhid: Make hid_is_usb() non-inline

By making hid_is_usb() a non-inline function the lowlevel usbhid driver
does not have to be exported anymore.

Also mark the argument as const as it is not modified.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: David Rheinsberg <david.rheinsberg@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>