Re: [PATCH] power: supply: Specify variations of MAX8903

From: Sebastian Reichel
Date: Wed Oct 13 2021 - 14:03:48 EST


Hi,

On Wed, Sep 15, 2021 at 02:03:40PM +0300, Ramona Alexandra Nechita wrote:
> MAX8903 has multiple variations (A-E/G/H/J/N/Y).
> Specified them in the Kconfig and in the file comment.
>
> Signed-off-by: Ramona Alexandra Nechita <ramona.nechita@xxxxxxxxxx>
> ---

why? I would expect people to identify this as the correct driver
without this list and it's definetly not grepable.

-- Sebastian

> drivers/power/supply/Kconfig | 2 +-
> drivers/power/supply/max8903_charger.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
> index c84a7b1caeb6..cca779480b1c 100644
> --- a/drivers/power/supply/Kconfig
> +++ b/drivers/power/supply/Kconfig
> @@ -442,7 +442,7 @@ config CHARGER_ISP1704
> ISP1707/ISP1704 USB transceivers.
>
> config CHARGER_MAX8903
> - tristate "MAX8903 Battery DC-DC Charger for USB and Adapter Power"
> + tristate "MAX8903A/B/C/D/E/G/H/J/N/Y Battery DC-DC Charger for USB and Adapter Power"
> help
> Say Y to enable support for the MAX8903 DC-DC charger and sysfs.
> The driver supports controlling charger-enable and current-limit
> diff --git a/drivers/power/supply/max8903_charger.c b/drivers/power/supply/max8903_charger.c
> index 0bd39b0cc257..4e5c669e6607 100644
> --- a/drivers/power/supply/max8903_charger.c
> +++ b/drivers/power/supply/max8903_charger.c
> @@ -1,6 +1,6 @@
> // SPDX-License-Identifier: GPL-2.0-or-later
> /*
> - * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver
> + * max8903_charger.c - Maxim 8903A/B/C/D/E/G/H/J/N/Y USB/Adapter Charger Driver
> *
> * Copyright (C) 2011 Samsung Electronics
> * MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>
> --
> 2.25.1
>

Attachment: signature.asc
Description: PGP signature