]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: orientation: hid-sensor-rotation: use ext_scan_type
authorDavid Lechner <dlechner@baylibre.com>
Sun, 1 Mar 2026 23:46:48 +0000 (17:46 -0600)
committerJonathan Cameron <jic23@kernel.org>
Mon, 27 Apr 2026 08:58:16 +0000 (09:58 +0100)
commit45c45b3f83d636563d005e10e07c198c18b488db
tree08945bb6adb835b56bb1924957f5fe9bc2fd3642
parent5de55ae1300b4bd70eb39b6664b6c733eee08228
iio: orientation: hid-sensor-rotation: use ext_scan_type

Make use of ext_scan_type to handle the dynamic realbits size of the
quaternion data. This lets us implement it using static data rather than
having to duplicate the channel info for each driver instance.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/orientation/hid-sensor-rotation.c