summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-sm5502.c
diff options
context:
space:
mode:
authorMarkuss Broks <markuss.broks@gmail.com>2022-04-23 10:53:14 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2022-05-13 10:03:41 +0200
commit5faf7cbaff459f885f09eed1e685a3cf9a19c78e (patch)
treeb408a852696db8c394eae9986755b2082aef22b5 /drivers/extcon/extcon-sm5502.c
parentextcon: ptn5150: Add usb role class support (diff)
downloadlinux-5faf7cbaff459f885f09eed1e685a3cf9a19c78e.tar.xz
linux-5faf7cbaff459f885f09eed1e685a3cf9a19c78e.zip
extcon: sm5502: Clarify SM5703's i2c device ID
While SM5502 and SM5504 are purely micro USB switching circuits, SM5703 is a multi-function device which has multiple modules in it. Change the i2c_device_id of it to avoid conflict with MFD driver. Signed-off-by: Markuss Broks <markuss.broks@gmail.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-sm5502.c')
-rw-r--r--drivers/extcon/extcon-sm5502.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-sm5502.c b/drivers/extcon/extcon-sm5502.c
index 17a40c3782ee..f706f5288257 100644
--- a/drivers/extcon/extcon-sm5502.c
+++ b/drivers/extcon/extcon-sm5502.c
@@ -831,7 +831,7 @@ static SIMPLE_DEV_PM_OPS(sm5502_muic_pm_ops,
static const struct i2c_device_id sm5502_i2c_id[] = {
{ "sm5502", (kernel_ulong_t)&sm5502_data },
{ "sm5504", (kernel_ulong_t)&sm5504_data },
- { "sm5703", (kernel_ulong_t)&sm5502_data },
+ { "sm5703-muic", (kernel_ulong_t)&sm5502_data },
{ }
};
MODULE_DEVICE_TABLE(i2c, sm5502_i2c_id);