diff options
author | Christophe JAILLET | 2024-06-22 09:04:26 +0200 |
---|---|---|
committer | Sebastian Reichel | 2024-06-26 15:00:53 +0200 |
commit | f62b267adcac33c64a26ec55973dad92bc8a8358 (patch) | |
tree | 2b7a4e03e840b160bf8ce903bf8b0933407897e4 /drivers/power | |
parent | dc6ce568afd3452ac682261ea0db570d28f7d82d (diff) |
power: supply: ab8500: Clean some error messages
There is an useless extra comma at the end of some error messages, remove
them.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/e7ac0fa83c6100cbe4e0efa90cf99291c2423b10.1719037737.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/supply/ab8500_charger.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/power/supply/ab8500_charger.c b/drivers/power/supply/ab8500_charger.c index 2f06b93682ac..93181ebfb324 100644 --- a/drivers/power/supply/ab8500_charger.c +++ b/drivers/power/supply/ab8500_charger.c @@ -491,7 +491,7 @@ static int ab8500_charger_get_ac_voltage(struct ab8500_charger *di) ret = iio_read_channel_processed_scale(di->adc_main_charger_v, &vch, 1000); if (ret < 0) { - dev_err(di->dev, "%s ADC conv failed,\n", __func__); + dev_err(di->dev, "%s ADC conv failed\n", __func__); return ret; } } else { @@ -546,7 +546,7 @@ static int ab8500_charger_get_vbus_voltage(struct ab8500_charger *di) ret = iio_read_channel_processed_scale(di->adc_vbus_v, &vch, 1000); if (ret < 0) { - dev_err(di->dev, "%s ADC conv failed,\n", __func__); + dev_err(di->dev, "%s ADC conv failed\n", __func__); return ret; } } else { @@ -572,7 +572,7 @@ static int ab8500_charger_get_usb_current(struct ab8500_charger *di) ret = iio_read_channel_processed_scale(di->adc_usb_charger_c, &ich, 1000); if (ret < 0) { - dev_err(di->dev, "%s ADC conv failed,\n", __func__); + dev_err(di->dev, "%s ADC conv failed\n", __func__); return ret; } } else { @@ -598,7 +598,7 @@ static int ab8500_charger_get_ac_current(struct ab8500_charger *di) ret = iio_read_channel_processed_scale(di->adc_main_charger_c, &ich, 1000); if (ret < 0) { - dev_err(di->dev, "%s ADC conv failed,\n", __func__); + dev_err(di->dev, "%s ADC conv failed\n", __func__); return ret; } } else { |