linux/drivers/i2c/muxes
Yang Yingliang ab2e5c8ff2 i2c: muxes: Fix return value check in mule_i2c_mux_probe()
If dev_get_regmap() fails, it returns NULL pointer not ERR_PTR(),
replace IS_ERR() with NULL pointer check, and return -ENODEV.

Fixes: d0f8e97866 ("i2c: muxes: add support for tsd,mule-i2c multiplexer")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2024-11-05 15:17:34 +01:00
..
i2c-arb-gpio-challenge.c i2c: mux: Remove class argument from i2c_mux_add_adapter() 2024-05-13 16:13:19 +02:00
i2c-demux-pinctrl.c I2C has largely driver updates for 6.7., i.e. feature additions (like 2023-11-05 08:41:14 -10:00
i2c-mux-gpio.c i2c: mux: gpio: Add support for the 'settle-time-us' property 2024-07-20 03:07:55 +02:00
i2c-mux-gpmux.c i2c: mux: Remove class argument from i2c_mux_add_adapter() 2024-05-13 16:13:19 +02:00
i2c-mux-ltc4306.c i2c: mux: Remove class argument from i2c_mux_add_adapter() 2024-05-13 16:13:19 +02:00
i2c-mux-mlxcpld.c i2c: mux: Remove class argument from i2c_mux_add_adapter() 2024-05-13 16:13:19 +02:00
i2c-mux-mule.c i2c: muxes: Fix return value check in mule_i2c_mux_probe() 2024-11-05 15:17:34 +01:00
i2c-mux-pca954x.c i2c: mux: Remove class argument from i2c_mux_add_adapter() 2024-05-13 16:13:19 +02:00
i2c-mux-pca9541.c i2c: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-26 12:45:25 +02:00
i2c-mux-pinctrl.c i2c: mux: Remove class argument from i2c_mux_add_adapter() 2024-05-13 16:13:19 +02:00
i2c-mux-reg.c i2c: mux: Remove class argument from i2c_mux_add_adapter() 2024-05-13 16:13:19 +02:00
Kconfig i2c: muxes: add support for tsd,mule-i2c multiplexer 2024-09-10 00:36:47 +02:00
Makefile i2c: muxes: add support for tsd,mule-i2c multiplexer 2024-09-10 00:36:47 +02:00