[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221025072217.3715634-1-claudiu.beznea@microchip.com>
Date: Tue, 25 Oct 2022 10:22:17 +0300
From: Claudiu Beznea <claudiu.beznea@...rochip.com>
To: <srinivas.kandagatla@...aro.org>, <horatiu.vultur@...rochip.com>
CC: <gregkh@...uxfoundation.org>, <linux-kernel@...r.kernel.org>,
"Claudiu Beznea" <claudiu.beznea@...rochip.com>
Subject: [PATCH] nvmem: lan9662-otp: fix compatible name
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@...rochip.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
Powered by blists - more mailing lists