summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/retu-mfd.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2017-06-15 20:49:22 +0200
committerLee Jones <lee.jones@linaro.org>2017-07-18 09:26:30 +0200
commit408bc03bb1d5aea34dd444fd6f1f566a5303793d (patch)
tree4067af4fe853c2ec95cd1e6f3fbab1576fc26b81 /drivers/mfd/retu-mfd.c
parentdt-bindings: mfd: Add retu/tahvo ASIC chips bindings (diff)
downloadlinux-408bc03bb1d5aea34dd444fd6f1f566a5303793d.tar.xz
linux-408bc03bb1d5aea34dd444fd6f1f566a5303793d.zip
mfd: retu: Drop -mfd suffix from I2C device ID name
It's not correct to encode the subsystem in the I2C device name, so drop the -mfd suffix. To maintain bisect-ability, change driver and platform code / DTS users in the same patch. Suggested-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi> Acked-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/retu-mfd.c')
-rw-r--r--drivers/mfd/retu-mfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/retu-mfd.c b/drivers/mfd/retu-mfd.c
index d4c114abeb75..53e1d386d2c0 100644
--- a/drivers/mfd/retu-mfd.c
+++ b/drivers/mfd/retu-mfd.c
@@ -302,8 +302,8 @@ static int retu_remove(struct i2c_client *i2c)
}
static const struct i2c_device_id retu_id[] = {
- { "retu-mfd", 0 },
- { "tahvo-mfd", 0 },
+ { "retu", 0 },
+ { "tahvo", 0 },
{ }
};
MODULE_DEVICE_TABLE(i2c, retu_id);