diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-08-01 14:42:02 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-09-28 18:09:48 +0300 |
commit | 48749cabba109397b4e7dd556e85718ec0ec114d (patch) | |
tree | 981c9be72d19caf755146a77414422eb3ba2971b /drivers/mfd/max14577.c | |
parent | fe969e9f017d5593169c157bc20df64f832b2ddd (diff) | |
download | linux-48749cabba109397b4e7dd556e85718ec0ec114d.tar.xz |
mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()
The commit in Fixes: has added a pwm_add_table() call in the probe() and
a pwm_remove_table() call in the remove(), but forget to update the error
handling path of the probe.
Add the missing pwm_remove_table() call.
Fixes: a3aa9a93df9f ("mfd: intel_soc_pmic_core: ADD PWM lookup table for CRC PMIC based PWM")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220801114211.36267-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'drivers/mfd/max14577.c')
0 files changed, 0 insertions, 0 deletions