WSL2-Linux-Kernel/drivers/iio/common/cros_ec_sensors
Wolfram Sang f636fb044a iio: common: cros_ec_sensors: simplify getting .driver_data
We should get 'driver_data' from 'struct device' directly. Going via
platform_device is an unneeded step back and forth.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20210920090522.23784-7-wsa+renesas@sang-engineering.com
2021-09-27 09:18:01 +02:00
..
Kconfig iio / platform: cros_ec: Add cros-ec-sensorhub driver 2019-11-21 11:23:14 +01:00
Makefile chrome platform changes for v5.3 2019-07-11 18:45:29 -07:00
cros_ec_lid_angle.c iio: cros: unify hw fifo attributes without API changes 2021-03-25 19:13:52 +00:00
cros_ec_sensors.c iio: cros: unify hw fifo attributes without API changes 2021-03-25 19:13:52 +00:00
cros_ec_sensors_core.c iio: common: cros_ec_sensors: simplify getting .driver_data 2021-09-27 09:18:01 +02:00