summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorTony Xie <tony.xie@rock-chips.com>2019-01-02 13:19:57 +0300
committerLee Jones <lee.jones@linaro.org>2019-05-14 10:13:26 +0300
commit54349b3ce82e3369a7c7b2960f19c1bea876c5fb (patch)
treec93fb58fc375eec8053d4a7b1b664dd046e101a4 /drivers/mfd
parentd4cee9509e508df34d1dbfad6b42e5bf907d20fd (diff)
downloadlinux-54349b3ce82e3369a7c7b2960f19c1bea876c5fb.tar.xz
mfd: rk808: Remove the id_table
Remove the id_table because it's not used. Signed-off-by: Tony Xie <tony.xie@rock-chips.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/rk808.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index 216fbf6adec9..94377782d208 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -568,14 +568,6 @@ static int rk808_remove(struct i2c_client *client)
return 0;
}
-static const struct i2c_device_id rk808_ids[] = {
- { "rk805" },
- { "rk808" },
- { "rk818" },
- { },
-};
-MODULE_DEVICE_TABLE(i2c, rk808_ids);
-
static struct i2c_driver rk808_i2c_driver = {
.driver = {
.name = "rk808",
@@ -583,7 +575,6 @@ static struct i2c_driver rk808_i2c_driver = {
},
.probe = rk808_probe,
.remove = rk808_remove,
- .id_table = rk808_ids,
};
module_i2c_driver(rk808_i2c_driver);