Skip to content

iio: hid-sensor: add module alias for autoload

Alexander Holler linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iio: hid-sensor-accel-3d: add module alias for autoloaddrivers/iio/accel/hid-sensor-accel-3d.c+11 -50 replies
2/4iio: hid-sensor-gyro-3d: add module alias for autoloaddrivers/iio/gyro/hid-sensor-gyro-3d.c+11 -51 reply
3/4iio: hid-sensor-als: add module alias for autoloaddrivers/iio/light/hid-sensor-als.c+11 -51 reply
4/4iio: hid-sensor-magn-3d: add module alias for autoloaddrivers/iio/magnetometer/hid-sensor-magn-3d.c+11 -51 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchSrinivas Pandruvada
1/4
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] iio: hid-sensor: add module alias for autoload

Hello,

I'm not sure if it was by intention that none of the hid-sensor drivers were loaded automatically. But I assume it was not by intention.

Therefor I've added a module alias to every hid-sensor driver by adding a MODULE_DEVICE_TABLE.

This has another benefit: it makes it possible to use a normale driver name.

Therefor I've changed all driver names to KBUILD_MODNAME instead of HID-SENSOR-2000xx as the later isn't very descriptive when starring at kernel messages.

Regards,

Alexander Holler