Files
linux-stable-mirror/include/linux
Dmitry Torokhov c653ffc283 HID: stop exporting hid_snto32()
The only user of hid_snto32() is Logitech HID++ driver, which always
calls hid_snto32() with valid size (constant, either 12 or 8) and
therefore can simply use sign_extend32().

Make the switch and remove hid_snto32(). Move snto32() and s32ton() to
avoid introducing forward declaration.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://patch.msgid.link/20241003144656.3786064-2-dmitry.torokhov@gmail.com
[bentiss: fix checkpatch warning]
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
2024-10-04 10:39:00 +02:00
..
2024-09-09 16:39:18 -07:00
2024-09-27 08:18:43 -07:00
2024-10-04 10:39:00 +02:00
2024-09-20 18:28:26 +03:00
2024-09-23 15:03:30 -04:00
2024-09-23 15:03:30 -04:00
2024-09-23 15:03:30 -04:00
2024-09-19 14:25:32 -05:00
2024-09-19 14:25:34 -05:00
2024-09-17 01:06:59 -07:00
2024-09-11 20:44:31 -07:00
2024-09-11 20:44:32 -07:00
2024-09-22 11:19:35 -07:00
2024-09-12 12:20:39 +02:00