2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/iio
Salah Triki 43c0f6456f iio: pressure: bmp280: Use IS_ERR() in bmp280_common_probe()
`devm_gpiod_get_optional()` may return non-NULL error pointer on failure.
Check its return value using `IS_ERR()` and propagate the error if
necessary.

Fixes: df6e71256c ("iio: pressure: bmp280: Explicitly mark GPIO optional")
Signed-off-by: Salah Triki <salah.triki@gmail.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250818092740.545379-2-salah.triki@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2025-08-18 19:22:18 +01:00
..
accel iio: accel: sca3300: fix uninitialized iio scan data 2025-08-11 21:35:01 +01:00
adc iio: adc: rzg2l_adc: Set driver data before enabling runtime PM 2025-08-16 14:52:43 +01:00
addac treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
afe iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
amplifiers iio: amplifiers: ad8366: make ad8366_info const 2025-07-06 10:37:52 +01:00
buffer iio: buffer: Fix checkpatch.pl warning 2025-06-09 07:45:35 +01:00
cdc iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
chemical iio: chemical: atlas-ezo-sensor: make atlas_ezo_devices const 2025-07-06 10:37:52 +01:00
common Char / Misc / IIO / other driver updates for 6.17-rc1 2025-07-29 09:52:01 -07:00
dac treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
dummy iio: dummy: Switch to iio_push_to_buffers_with_ts() and provide size of storage 2025-05-21 14:20:26 +01:00
filter iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
frequency iio: admv1013: replace redundant ternary operator with just len 2025-05-21 14:21:34 +01:00
gyro iio: Remove single use of macro definition for IRQ name 2025-06-09 07:45:36 +01:00
health iio: health: afe4404: convert to use maple tree register cache 2025-06-26 19:32:53 +01:00
humidity iio: Remove single use of macro definition for driver name 2025-06-09 07:45:36 +01:00
imu iio: imu: inv_icm42600: change invalid data error to -EBUSY 2025-08-11 21:35:01 +01:00
light iio: light: as73211: Ensure buffer holes are zeroed 2025-08-16 14:58:35 +01:00
magnetometer iio: magnetometer: af8133j: use = { } instead of memset() 2025-06-26 19:32:57 +01:00
multiplexer iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
orientation iio: orientation: hid-sensor-rotation: remove unnecessary alignment 2025-05-21 14:20:28 +01:00
position iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
potentiometer iio: potentiometer: Drop unused export.h includes 2025-06-26 19:32:52 +01:00
potentiostat iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
pressure iio: pressure: bmp280: Use IS_ERR() in bmp280_common_probe() 2025-08-18 19:22:18 +01:00
proximity iio: proximity: isl29501: fix buffered read on big-endian systems 2025-08-11 21:35:01 +01:00
resolver iio: Remove single use of macro definition for driver name 2025-06-09 07:45:36 +01:00
temperature iio: temperature: maxim_thermocouple: use DMA-safe buffer for spi_read() 2025-08-11 21:35:01 +01:00
test iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
trigger iio: trigger: stm32-lptimer: Fix build warnings about export.h 2025-06-26 19:32:52 +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: acpi: Add iio_get_acpi_device_name_and_data() helper function 2024-10-28 20:04:11 +00:00
industrialio-backend.c Char / Misc / IIO / other driver updates for 6.17-rc1 2025-07-29 09:52:01 -07:00
industrialio-buffer.c iio: core: mark scan_timestamp as __private 2024-12-28 14:28:14 +00:00
industrialio-configfs.c
industrialio-core.c Char / Misc / IIO / other driver updates for 6.17-rc1 2025-07-29 09:52:01 -07:00
industrialio-event.c iio: introduce the FAULT event type 2025-02-08 15:16:29 +00:00
industrialio-gts-helper.c iio: gts-helper: export iio_gts_get_total_gain() 2025-02-08 15:16:29 +00:00
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c iio: trigger: allow devices to suspend/resume theirs associated trigger 2024-08-10 11:19:36 +01:00
industrialio-triggered-event.c
inkern.c Merge 6.13-rc4 into char-misc-next 2025-01-13 06:17:49 +01:00
Kconfig iio: core: Add new DMABUF interface infrastructure 2024-06-30 11:29:17 +01:00
Makefile iio: core: Add iio_read_acpi_mount_matrix() helper function 2024-04-29 20:53:25 +01:00
TODO