linux/drivers/iio
Sean Anderson 0214b27fc9 iio: Add iio_read_channel_label to inkern API
It can be convenient for other in-kernel drivers to reuse IIO channel
labels. Export the iio_read_channel_label function to allow this. The
signature is different depending on where we are calling it from, so
the meat is moved to do_iio_read_channel_label.

Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://patch.msgid.link/20240624174601.1527244-2-sean.anderson@linux.dev
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-06-28 20:06:56 +01:00
..
accel iio: accel: st_accel: add support for LIS2DS12 2024-06-25 21:04:49 +01:00
adc iio: adc: ltc2309: Fix endian type passed to be16_to_cpu() 2024-06-28 20:04:18 +01:00
addac iio: addac: ad74413r: simplify with spi_get_device_match_data() 2024-06-13 19:19:24 +01:00
afe iio: afe: rescale: Accept only offset channels 2023-10-17 20:25:32 +01:00
amplifiers iio: amplifiers: hmc425a: add support for LTC6373 Instrumentation Amplifier 2024-02-28 19:26:36 +00:00
buffer iio: add missing MODULE_DESCRIPTION() macros 2024-06-13 19:19:23 +01:00
cdc iio: cdc: ad7150: relax return value check for IRQ get 2023-08-01 18:55:55 +01:00
chemical iio: chemical: ens160: add power management support 2024-06-13 19:19:26 +01:00
common iio: invensense: fix odr switching to same value 2024-05-27 09:49:20 +01:00
dac iio: dac: ad3552r: use devm_regulator_get_enable_read_voltage() 2024-06-25 21:04:51 +01:00
dummy iio: dummy: Use automatic lock and direct mode cleanup. 2024-02-17 16:16:10 +00:00
filter drivers: iio: filter: admv8818: add bypass mode 2023-08-08 09:51:06 +01:00
frequency iio: frequency: adf4350: add clk provider 2024-06-25 21:04:49 +01:00
gyro iio: gyro: adis16260: make use of the new lock helpers 2024-06-25 21:04:50 +01:00
health iio: health: max30102: make use of regmap_set_bits() 2024-06-25 21:04:46 +01:00
humidity iio: humidity: si7020: add heater support 2024-06-13 19:19:23 +01:00
imu iio: imu: adis16475: make use of the new lock helpers 2024-06-25 21:04:50 +01:00
light iio: light: veml6030: make use of regmap_clear_bits() 2024-06-25 21:04:47 +01:00
magnetometer iio: magnetometer: mmc35240: make use of regmap_set_bits() 2024-06-25 21:04:47 +01:00
multiplexer iio: multiplexer: Remove an unused field in struct mux 2024-05-27 09:48:56 +01:00
orientation iio: orientation: hid-sensor-rotation: Convert to platform remove callback returning void 2023-09-23 15:06:56 +01:00
position iio: position: hid-sensor-custom-intel-hinge: Convert to platform remove callback returning void 2023-09-23 15:06:56 +01:00
potentiometer iio: potentiometer: max5487: Drop ACPI_PTR() usage 2024-01-23 22:06:55 +00:00
potentiostat iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
pressure iio: pressure: bmp280-core: make use of regmap_clear_bits() 2024-06-25 21:04:48 +01:00
proximity iio: proximity: sx_common: make use of regmap_clear_bits(), regmap_set_bits() 2024-06-25 21:04:48 +01:00
resolver iio: resolver: ad2s1210: add reset gpio support 2023-11-16 19:10:25 +00:00
temperature iio: temperature: mlx90632: make use of regmap_clear_bits() 2024-06-25 21:04:48 +01:00
test iio: test: gts: test available times and gains sorting 2024-05-27 09:48:56 +01:00
trigger iio: trigger: stm32-timer-trigger: make use of regmap_clear_bits(), regmap_set_bits() 2024-06-25 21:04:48 +01:00
iio_core_trigger.h
iio_core.h iio: Add iio_read_channel_label to inkern API 2024-06-28 20:06:56 +01:00
industrialio-acpi.c iio: core: Add iio_read_acpi_mount_matrix() helper function 2024-04-29 20:53:25 +01:00
industrialio-backend.c iio: backend: add API for interface tuning 2024-04-29 20:53:26 +01:00
industrialio-buffer.c iio: add support for multiple scan types per channel 2024-06-04 19:53:08 +01:00
industrialio-configfs.c
industrialio-core.c iio: Add iio_read_channel_label to inkern API 2024-06-28 20:06:56 +01:00
industrialio-event.c iio: event: use sizeof(*pointer) instead of sizeof(type) 2024-06-13 19:19:23 +01:00
industrialio-gts-helper.c iio: Fix the sorting functionality in iio_gts_build_avail_time_table 2024-05-27 09:48:56 +01:00
industrialio-sw-device.c
industrialio-sw-trigger.c iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails 2022-11-12 17:53:35 +00:00
industrialio-trigger.c iio: trigger: move to the cleanup.h magic 2024-03-25 20:10:14 +00:00
industrialio-triggered-event.c
inkern.c iio: Add iio_read_channel_label to inkern API 2024-06-28 20:06:56 +01:00
Kconfig iio: add the IIO backend framework 2024-02-19 19:32:22 +00:00
Makefile iio: core: Add iio_read_acpi_mount_matrix() helper function 2024-04-29 20:53:25 +01:00
TODO iio: core: move 'mlock' to 'struct iio_dev_opaque' 2022-11-23 19:44:00 +00:00