Skip to contentSkip to conversation

Input: cap11xx - remove duplicate dev_info print

PATCH New Jun Yan 1 participant 1 message Mar 29

Subsystems (2)
lore
Share & tools
lore

Jun Yan

author
#0 lore raw

PATCH 1/1 Input: cap11xx - remove duplicate dev_info print

Remove the duplicated CAP11XX device detection log print to avoid redundant kernel messages.

---
 drivers/input/keyboard/cap11xx.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/input/keyboard/cap11xx.c +0 -3
index 0c17cbaa3d27..9c94ea047d64 100644
@@ -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",
Signature · 1 line
2.53.0