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

2021-01-23 Thread Jonathan Cameron
On Wed, 20 Jan 2021 15:47:04 +0800 Ye Xiang wrote: > No functional change has been made with this patch. The main intent here > is to reduce code repetition of get sensitivity attribute. > > In the current implementation, sensor_hub_input_get_attribute_info() is > called from multiple drivers to

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

2021-01-19 Thread Ye Xiang
No functional change has been made with this patch. The main intent here is to reduce code repetition of get 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 commo