diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-10-25 13:27:16 +0200 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2025-11-06 14:05:02 +0000 |
| commit | 049929c5a159c8671b9b0c12a7da963fef535b00 (patch) | |
| tree | 81c7e7942395a3916c2afe07ddec1226fdea3b63 /scripts/generate_rust_analyzer.py | |
| parent | 2bac49bad1f3553cc3b3bfb22cc194e9bd9e8427 (diff) | |
mfd: da9055: Simplify the error handling path in da9055_device_init()
If mfd_add_devices() fails, there is no need to call mfd_remove_devices().
The needed clean-up is already done in the error handling path of
mfd_add_devices().
So, remove the unneeded (and harmless) call.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/871f52e7ab5d12853bc39f36ac78b5a8e484d863.1761391599.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
