summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/Makefile
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-12-16 18:38:52 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-01-13 22:51:52 +0100
commitefc78983d21aeaf692006d42b92a006cdce3ed4d (patch)
tree0513ad8814ab80486cef5f4633999e57ec95ecf4 /drivers/iio/pressure/Makefile
parentiio: st_gyro: Correct data for LSM9DS0 gyro (diff)
downloadlinux-efc78983d21aeaf692006d42b92a006cdce3ed4d.tar.xz
linux-efc78983d21aeaf692006d42b92a006cdce3ed4d.zip
iio: st_sensors: Drop redundant parameter from st_sensors_of_name_probe()
Since we have access to the struct device_driver and thus to the ID table, there is no need to supply special parameters to st_sensors_of_name_probe(). Besides that we have a common API to get driver match data, there is no need to do matching separately for OF and ACPI. Taking into consideration above, simplify the ST sensors code. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/pressure/Makefile')
0 files changed, 0 insertions, 0 deletions