Re: [PATCH v3 5/8] iio: common: cros_ec_sensors: use core structure

2019-06-22 Thread Jonathan Cameron
On Tue, 18 Jun 2019 11:06:36 +0200 Fabien Lahoudere wrote: > Drivers based on cros_ec_sensors_core have structure containing the > core structure. In order to simplify, we drop all the specific and > useless structure to use the same one in all drivers. > If a future driver need specific field, w

[PATCH v3 5/8] iio: common: cros_ec_sensors: use core structure

2019-06-18 Thread Fabien Lahoudere
Drivers based on cros_ec_sensors_core have structure containing the core structure. In order to simplify, we drop all the specific and useless structure to use the same one in all drivers. If a future driver need specific field, we can add a private pointer to that data. Signed-off-by: Fabien Laho