diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2015-03-06 17:41:36 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-03-07 14:58:28 +0100 |
commit | 34825e511971e193db16a96350faeb60eff0d842 (patch) | |
tree | 058226d06629b1ee9fed1523260ffb5ed9b27d47 /drivers/extcon/extcon-sm5502.c | |
parent | extcon: Rename extcon core driver (diff) | |
download | linux-34825e511971e193db16a96350faeb60eff0d842.tar.xz linux-34825e511971e193db16a96350faeb60eff0d842.zip |
extcon: Fix the checkpatch warning
This patch fixes the checkpatch warning about coding style.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-sm5502.c')
-rw-r--r-- | drivers/extcon/extcon-sm5502.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/extcon/extcon-sm5502.c b/drivers/extcon/extcon-sm5502.c index b0f7bd82af90..2f93cf307852 100644 --- a/drivers/extcon/extcon-sm5502.c +++ b/drivers/extcon/extcon-sm5502.c @@ -359,8 +359,8 @@ static unsigned int sm5502_muic_get_cable_type(struct sm5502_muic_info *info) break; default: dev_dbg(info->dev, - "cannot identify the cable type: adc(0x%x) " - "dev_type1(0x%x)\n", adc, dev_type1); + "cannot identify the cable type: adc(0x%x)\n", + adc); return -EINVAL; }; break; @@ -659,7 +659,7 @@ static int sm5502_muic_i2c_remove(struct i2c_client *i2c) return 0; } -static struct of_device_id sm5502_dt_match[] = { +static const struct of_device_id sm5502_dt_match[] = { { .compatible = "siliconmitus,sm5502-muic" }, { }, }; |