diff options
author | Benoit Cousson <b-cousson@ti.com> | 2010-12-09 09:24:16 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-12-20 20:53:04 -0500 |
commit | f7bb0d9ab29e3159e22c3bfc843bd37c7d3c91a0 (patch) | |
tree | 702fb45ad3b0a54a57d33e6be589669c1ea869df /drivers/i2c | |
parent | 05f185c774992f1d9edb646a3ecfdabdc8e358f3 (diff) |
I2C: i2c-omap: Change device name: i2c_omap -> omap_i2c
The convention for omap device naming is omap_XXX.
Rename the device and driver name in order to stick
to this naming convention.
Change device name in clock nodes as well.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Ben Dooks <ben-i2c@fluff.org>
Acked-by: Paul Walmsley <paul@pwsan.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-omap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 760b8be6975f..9d090833e245 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c | |||
@@ -1139,7 +1139,7 @@ static struct platform_driver omap_i2c_driver = { | |||
1139 | .probe = omap_i2c_probe, | 1139 | .probe = omap_i2c_probe, |
1140 | .remove = omap_i2c_remove, | 1140 | .remove = omap_i2c_remove, |
1141 | .driver = { | 1141 | .driver = { |
1142 | .name = "i2c_omap", | 1142 | .name = "omap_i2c", |
1143 | .owner = THIS_MODULE, | 1143 | .owner = THIS_MODULE, |
1144 | }, | 1144 | }, |
1145 | }; | 1145 | }; |
@@ -1161,4 +1161,4 @@ module_exit(omap_i2c_exit_driver); | |||
1161 | MODULE_AUTHOR("MontaVista Software, Inc. (and others)"); | 1161 | MODULE_AUTHOR("MontaVista Software, Inc. (and others)"); |
1162 | MODULE_DESCRIPTION("TI OMAP I2C bus adapter"); | 1162 | MODULE_DESCRIPTION("TI OMAP I2C bus adapter"); |
1163 | MODULE_LICENSE("GPL"); | 1163 | MODULE_LICENSE("GPL"); |
1164 | MODULE_ALIAS("platform:i2c_omap"); | 1164 | MODULE_ALIAS("platform:omap_i2c"); |