linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nvmem: lan9662-otp: fix compatible name
@ 2022-10-25  7:22 Claudiu Beznea
  2022-10-25 23:44 ` Horatiu Vultur
  0 siblings, 1 reply; 3+ messages in thread
From: Claudiu Beznea @ 2022-10-25  7:22 UTC (permalink / raw)
  To: srinivas.kandagatla, horatiu.vultur; +Cc: gregkh, linux-kernel, Claudiu Beznea

Documentation of lan9662-otpc driver (namely Documentation/\
devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml) express that
compatible for this driver contains "otpc" string at the end but not "otp"
as currently present. Fix this typo.

Fixes: 9e8f208ad522 ("nvmem: lan9662-otp: add support")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 drivers/nvmem/lan9662-otpc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvmem/lan9662-otpc.c b/drivers/nvmem/lan9662-otpc.c
index f6732fd216d8..377bf34c2946 100644
--- a/drivers/nvmem/lan9662-otpc.c
+++ b/drivers/nvmem/lan9662-otpc.c
@@ -203,7 +203,7 @@ static int lan9662_otp_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id lan9662_otp_match[] = {
-	{ .compatible = "microchip,lan9662-otp", },
+	{ .compatible = "microchip,lan9662-otpc", },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, lan9662_otp_match);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] nvmem: lan9662-otp: fix compatible name
  2022-10-25  7:22 [PATCH] nvmem: lan9662-otp: fix compatible name Claudiu Beznea
@ 2022-10-25 23:44 ` Horatiu Vultur
  2022-11-10 17:45   ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Horatiu Vultur @ 2022-10-25 23:44 UTC (permalink / raw)
  To: Claudiu Beznea; +Cc: srinivas.kandagatla, gregkh, linux-kernel

The 10/25/2022 10:22, Claudiu Beznea wrote:

Hi Claudiu,

> Documentation of lan9662-otpc driver (namely Documentation/\
> devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml) express that
> compatible for this driver contains "otpc" string at the end but not "otp"
> as currently present. Fix this typo.

Thanks for this patch.
I have also sent a patch for this some time ago[1], but there
is no reply on this.

Anyway for this patch:

Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>

[1] https://patchew.org/linux/20220928195112.630351-1-horatiu.vultur@microchip.com/

> 
> Fixes: 9e8f208ad522 ("nvmem: lan9662-otp: add support")
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
>  drivers/nvmem/lan9662-otpc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/nvmem/lan9662-otpc.c b/drivers/nvmem/lan9662-otpc.c
> index f6732fd216d8..377bf34c2946 100644
> --- a/drivers/nvmem/lan9662-otpc.c
> +++ b/drivers/nvmem/lan9662-otpc.c
> @@ -203,7 +203,7 @@ static int lan9662_otp_probe(struct platform_device *pdev)
>  }
>  
>  static const struct of_device_id lan9662_otp_match[] = {
> -	{ .compatible = "microchip,lan9662-otp", },
> +	{ .compatible = "microchip,lan9662-otpc", },
>  	{ },
>  };
>  MODULE_DEVICE_TABLE(of, lan9662_otp_match);
> -- 
> 2.34.1
> 

-- 
/Horatiu

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] nvmem: lan9662-otp: fix compatible name
  2022-10-25 23:44 ` Horatiu Vultur
@ 2022-11-10 17:45   ` Greg KH
  0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2022-11-10 17:45 UTC (permalink / raw)
  To: Horatiu Vultur; +Cc: Claudiu Beznea, srinivas.kandagatla, linux-kernel

On Wed, Oct 26, 2022 at 01:44:05AM +0200, Horatiu Vultur wrote:
> The 10/25/2022 10:22, Claudiu Beznea wrote:
> 
> Hi Claudiu,
> 
> > Documentation of lan9662-otpc driver (namely Documentation/\
> > devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml) express that
> > compatible for this driver contains "otpc" string at the end but not "otp"
> > as currently present. Fix this typo.
> 
> Thanks for this patch.
> I have also sent a patch for this some time ago[1], but there
> is no reply on this.
> 
> Anyway for this patch:
> 
> Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
> 
> [1] https://patchew.org/linux/20220928195112.630351-1-horatiu.vultur@microchip.com/

I have queued up your first patch as you were here first, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-10 17:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25  7:22 [PATCH] nvmem: lan9662-otp: fix compatible name Claudiu Beznea
2022-10-25 23:44 ` Horatiu Vultur
2022-11-10 17:45   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).