leds: an30259a: Fix typo
diff mbox series

Message ID 20190721205955.25317-1-christophe.jaillet@wanadoo.fr
State In Next
Commit f3b357c280738781df3b25c1cbb8166e11982eeb
Headers show
Series
  • leds: an30259a: Fix typo
Related show

Commit Message

Christophe JAILLET July 21, 2019, 8:59 p.m. UTC
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@wanadoo.fr>
---
an32059a is another chip from panasonic
---
 drivers/leds/leds-an30259a.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Pavel Machek July 21, 2019, 9:42 p.m. UTC | #1
Hi!

> 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@wanadoo.fr>

I see nothing wrong... But address listed as AUTHOR might be worth
Cc-ing? :-).

Acked-by: Pavel Machek <pavel@ucw.cz>
								Pavel

> 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@lineageos.org>");
> -MODULE_DESCRIPTION("AN32059A LED driver");
> +MODULE_DESCRIPTION("AN30259A LED driver");
>  MODULE_LICENSE("GPL v2");
Jacek Anaszewski July 22, 2019, 8:13 p.m. UTC | #2
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@wanadoo.fr>
> ---
> 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@lineageos.org>");
> -MODULE_DESCRIPTION("AN32059A LED driver");
> +MODULE_DESCRIPTION("AN30259A LED driver");
>  MODULE_LICENSE("GPL v2");
> 

Applied.

Patch
diff mbox series

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@lineageos.org>");
-MODULE_DESCRIPTION("AN32059A LED driver");
+MODULE_DESCRIPTION("AN30259A LED driver");
 MODULE_LICENSE("GPL v2");