linux/drivers/i2c/muxes
Christophe JAILLET 33ac515589 i2c: muxes: mule: Fix an error handling path in mule_i2c_mux_probe()
If an error occurs in the loop that creates the device adapters, then a
reference to 'dev' still needs to be released.

Use for_each_child_of_node_scoped() to both fix the issue and save one line
of code.

Fixes: d0f8e97866 ("i2c: muxes: add support for tsd,mule-i2c multiplexer")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2025-08-03 22:47:57 +02:00
..
i2c-arb-gpio-challenge.c i2c: Switch back to struct platform_driver::remove() 2024-11-17 11:58:14 +01:00
i2c-demux-pinctrl.c i2c: use inclusive callbacks in struct i2c_algorithm 2025-06-12 10:05:31 +02:00
i2c-mux-gpio.c i2c: Switch back to struct platform_driver::remove() 2024-11-17 11:58:14 +01:00
i2c-mux-gpmux.c i2c: Switch back to struct platform_driver::remove() 2024-11-17 11:58:14 +01:00
i2c-mux-ltc4306.c i2c: mux: ltc4306: use new GPIO line value setter callbacks 2025-04-24 10:27:09 +02:00
i2c-mux-mlxcpld.c i2c: Switch back to struct platform_driver::remove() 2024-11-17 11:58:14 +01:00
i2c-mux-mule.c i2c: muxes: mule: Fix an error handling path in mule_i2c_mux_probe() 2025-08-03 22:47:57 +02:00
i2c-mux-pca954x.c i2c: mux: pca954x: Use dev_fwnode() 2025-06-27 12:51:07 +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: Switch back to struct platform_driver::remove() 2024-11-17 11:58:14 +01:00
i2c-mux-reg.c i2c: mux: remove incorrect of_match_ptr annotations 2025-03-18 21:53:53 +01: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