iio: remove get_irq_data_ready() function pointer and use IRQ number directly
authorDenis Ciocca <denis.ciocca@st.com>
Fri, 2 Aug 2019 17:59:13 +0000 (10:59 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 5 Aug 2019 15:50:08 +0000 (16:50 +0100)
commit9cd15d521a3adcb687a0f9a312e32caaa94f44c2
tree2b51376c4064455b43b37f2c6507d3e8bf37ca9d
parent48cceecfa7625e700ed9c57392bd17923c4832c0
iio: remove get_irq_data_ready() function pointer and use IRQ number directly

Not even sure why it was there since the beginning. Just use IRQ
number in the sensor_data struct.

Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/st_accel_core.c
drivers/iio/common/st_sensors/st_sensors_i2c.c
drivers/iio/common/st_sensors/st_sensors_spi.c
drivers/iio/common/st_sensors/st_sensors_trigger.c
drivers/iio/gyro/st_gyro_core.c
drivers/iio/magnetometer/st_magn_core.c
drivers/iio/pressure/st_pressure_core.c
include/linux/iio/common/st_sensors.h