[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <19fae0c2a773caf29bcc51196f7c6bd896c9663f.1404478227.git.d.kasatkin@samsung.com>
Date: Fri, 04 Jul 2014 15:51:25 +0300
From: Dmitry Kasatkin <d.kasatkin@...sung.com>
To: cw00.choi@...sung.com
Cc: linux-kernel@...r.kernel.org,
Dmitry Kasatkin <d.kasatkin@...sung.com>,
Jonghwa Lee <jonghwa3.lee@...sung.com>,
MyungJoo Ham <myungjoo.ham@...sung.com>
Subject: [PATCH 2/3] extcon: max77693: Differentiate info message for easier
debugging
Signed-off-by: Dmitry Kasatkin <d.kasatkin@...sung.com>
Signed-off-by: Jonghwa Lee <jonghwa3.lee@...sung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@...sung.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists