Re: [PATCH] leds: an30259a: Fix typo

From: Jacek Anaszewski
Date: Mon Jul 22 2019 - 16:13:25 EST


Hi Christophe,

Thank you for the patch.

On 7/21/19 10:59 PM, Christophe JAILLET wrote:
> All this file is about an30259a, including the reference to the datasheet
> at the top of the file.
>
> So change the 2 places where an32059a is used instead.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> an32059a is another chip from panasonic
> ---
> drivers/leds/leds-an30259a.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/leds/leds-an30259a.c b/drivers/leds/leds-an30259a.c
> index 1c1f0c8c56f4..37e7c7998972 100644
> --- a/drivers/leds/leds-an30259a.c
> +++ b/drivers/leds/leds-an30259a.c
> @@ -353,7 +353,7 @@ MODULE_DEVICE_TABLE(i2c, an30259a_id);
>
> static struct i2c_driver an30259a_driver = {
> .driver = {
> - .name = "leds-an32059a",
> + .name = "leds-an30259a",
> .of_match_table = of_match_ptr(an30259a_match_table),
> },
> .probe_new = an30259a_probe,
> @@ -364,5 +364,5 @@ static struct i2c_driver an30259a_driver = {
> module_i2c_driver(an30259a_driver);
>
> MODULE_AUTHOR("Simon Shields <simon@xxxxxxxxxxxxx>");
> -MODULE_DESCRIPTION("AN32059A LED driver");
> +MODULE_DESCRIPTION("AN30259A LED driver");
> MODULE_LICENSE("GPL v2");
>

Applied.

--
Best regards,
Jacek Anaszewski