[PATCH v2 0/2] chrome: Remove Custom ABI |location| attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Instead of using the custom |location| attribute, use the |label| attribute
introduced in kernel 5.8.
A new location is required for sensors located in a camera subassembly that
swivels.

---
 changes in v2:
 * Add "accel-camera" define.
 * remove |location| attribute completely.

Gwendal Grignou (2):
  iio: ABI: Add a new location label
  iio: common: cros_ec_sensors: Add label attribute

 Documentation/ABI/testing/sysfs-bus-iio       |  5 ++++
 drivers/iio/accel/cros_ec_accel_legacy.c      |  2 +-
 .../cros_ec_sensors/cros_ec_sensors_core.c    | 30 ++++++-------------
 drivers/iio/light/cros_ec_light_prox.c        |  2 --
 drivers/iio/pressure/cros_ec_baro.c           |  2 --
 .../linux/iio/common/cros_ec_sensors_core.h   |  2 --
 6 files changed, 15 insertions(+), 28 deletions(-)

-- 
2.36.0.464.gb9c8b46e94-goog




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux