Re: [PATCH v2 1/2] iio: hid-sensors: Move get sensitivity attribute to hid-sensor-common

2021-02-06 Thread Alexandre Belloni
On 01/02/2021 13:49:20+0800, Ye Xiang wrote: > No functional change has been made with this patch. The main intent here > is to reduce code repetition of getting sensitivity attribute. > > In the current implementation, sensor_hub_input_get_attribute_info() is > called from multiple drivers to get

[PATCH v2 1/2] iio: hid-sensors: Move get sensitivity attribute to hid-sensor-common

2021-01-31 Thread Ye Xiang
No functional change has been made with this patch. The main intent here is to reduce code repetition of getting sensitivity attribute. In the current implementation, sensor_hub_input_get_attribute_info() is called from multiple drivers to get attribute info for sensitivity field. Moving this to c

[PATCH v2 1/2] iio: hid-sensors: Move get sensitivity attribute to hid-sensor-common

2021-01-31 Thread Ye Xiang
No functional change has been made with this patch. The main intent here is to reduce code repetition of getting sensitivity attribute. In the current implementation, sensor_hub_input_get_attribute_info() is called from multiple drivers to get attribute info for sensitivity field. Moving this to c