[PATCH 2/3] extcon: max77693: Differentiate info message for easier debugging

From: Dmitry Kasatkin
Date: Fri Jul 04 2014 - 08:52:46 EST


Signed-off-by: Dmitry Kasatkin <d.kasatkin@xxxxxxxxxxx>
Signed-off-by: Jonghwa Lee <jonghwa3.lee@xxxxxxxxxxx>
Signed-off-by: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>
---
drivers/extcon/extcon-max77693.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c
index 0e9f734..1b194b3 100644
--- a/drivers/extcon/extcon-max77693.c
+++ b/drivers/extcon/extcon-max77693.c
@@ -491,7 +491,7 @@ static int max77693_muic_dock_handler(struct max77693_muic_info *info,
char dock_name[CABLE_NAME_MAX];

dev_info(info->dev,
- "external connector is %s (adc:0x%02x)\n",
+ "external connector (doc) is %s (adc:0x%02x)\n",
attached ? "attached" : "detached", cable_type);

switch (cable_type) {
@@ -654,7 +654,7 @@ static int max77693_muic_jig_handler(struct max77693_muic_info *info,
u8 path = CONTROL1_SW_OPEN;

dev_info(info->dev,
- "external connector is %s (adc:0x%02x)\n",
+ "external connector (jig) is %s (adc:0x%02x)\n",
attached ? "attached" : "detached", cable_type);

switch (cable_type) {
@@ -700,7 +700,7 @@ static int max77693_muic_adc_handler(struct max77693_muic_info *info)
MAX77693_CABLE_GROUP_ADC, &attached);

dev_info(info->dev,
- "external connector is %s (adc:0x%02x, prev_adc:0x%x)\n",
+ "external connector (adc) is %s (adc:0x%02x, prev_adc:0x%x)\n",
attached ? "attached" : "detached", cable_type,
info->prev_cable_type);

@@ -809,7 +809,7 @@ static int max77693_muic_chg_handler(struct max77693_muic_info *info)
MAX77693_CABLE_GROUP_CHG, &attached);

dev_info(info->dev,
- "external connector is %s(chg_type:0x%x, prev_chg_type:0x%x)\n",
+ "external connector (chg) is %s(chg_type:0x%x, prev_chg_type:0x%x)\n",
attached ? "attached" : "detached",
chg_type, info->prev_chg_type);

--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/