[PATCH v2 2/8] misc: keba: Use capital letters for I2C error message

Gerhard Engleder posted 8 patches 1 month, 2 weeks ago
[PATCH v2 2/8] misc: keba: Use capital letters for I2C error message
Posted by Gerhard Engleder 1 month, 2 weeks ago
From: Gerhard Engleder <eg@keba.com>

Print "I2C" instead of "i2c" in error message as "I2C" is the official
name for the bus.

Signed-off-by: Gerhard Engleder <eg@keba.com>
---
 drivers/misc/keba/cp500.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/keba/cp500.c b/drivers/misc/keba/cp500.c
index b5327feb2847..1eee130c3a7f 100644
--- a/drivers/misc/keba/cp500.c
+++ b/drivers/misc/keba/cp500.c
@@ -274,7 +274,7 @@ static void cp500_register_auxiliary_devs(struct cp500 *cp500)
 	struct device *dev = &cp500->pci_dev->dev;
 
 	if (cp500_register_i2c(cp500))
-		dev_warn(dev, "Failed to register i2c!\n");
+		dev_warn(dev, "Failed to register I2C!\n");
 }
 
 static void cp500_unregister_dev(struct auxiliary_device *auxdev)
-- 
2.39.2