[PATCH] Input: cap11xx - remove duplicate dev_info print

Jun Yan posted 1 patch 4 days, 5 hours ago
drivers/input/keyboard/cap11xx.c | 3 ---
1 file changed, 3 deletions(-)
[PATCH] Input: cap11xx - remove duplicate dev_info print
Posted by Jun Yan 4 days, 5 hours ago
Remove the duplicated CAP11XX device detection log print
to avoid redundant kernel messages.

Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
---
 drivers/input/keyboard/cap11xx.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/input/keyboard/cap11xx.c b/drivers/input/keyboard/cap11xx.c
index 0c17cbaa3d27..9c94ea047d64 100644
--- a/drivers/input/keyboard/cap11xx.c
+++ b/drivers/input/keyboard/cap11xx.c
@@ -534,9 +534,6 @@ static int cap11xx_i2c_probe(struct i2c_client *i2c_client)
 	if (error < 0)
 		return error;
 
-	dev_info(dev, "CAP11XX detected, model %s, revision 0x%02x\n",
-			 id->name, rev);
-
 	priv->model = cap;
 
 	dev_info(dev, "CAP11XX device detected, model %s, revision 0x%02x\n",
-- 
2.53.0