iio: hid-sensor: add module alias for autoload
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | iio: hid-sensor-accel-3d: add module alias for autoloaddrivers/ | +11 | 0 replies | |
| 2/4 | iio: hid-sensor-gyro-3d: add module alias for autoloaddrivers/ | +11 | 1 reply | |
| 3/4 | iio: hid-sensor-als: add module alias for autoloaddrivers/ | +11 | 1 reply | |
| 4/4 | iio: hid-sensor-magn-3d: add module alias for autoloaddrivers/ | +11 | 1 reply |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Srinivas Pandruvada |
|---|---|
| 1/4 | |
| 2/4 | A-b |
| 3/4 | A-b |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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