diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-04-29 17:11:40 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2008-04-29 17:11:40 -0400 |
commit | 3760f736716f74bdc62a4ba5406934338da93eb2 (patch) | |
tree | e28e22c6655dd62566f1b7a99f9354a31bf9d06e /arch/arm/mach-ixp4xx | |
parent | d2653e92732bd3911feff6bee5e23dbf959381db (diff) |
i2c: Convert most new-style drivers to use module aliasing
Based on earlier work by Jon Smirl and Jochen Friedrich.
Update most new-style i2c drivers to use standard module aliasing
instead of the old driver_name/type driver matching scheme. I've
left the video drivers apart (except for SoC camera drivers) as
they're a bit more diffcult to deal with, they'll have their own
patch later.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Jon Smirl <jonsmirl@gmail.com>
Cc: Jochen Friedrich <jochen@scram.de>
Diffstat (limited to 'arch/arm/mach-ixp4xx')
-rw-r--r-- | arch/arm/mach-ixp4xx/dsmg600-setup.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/nas100d-setup.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/nslu2-setup.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-ixp4xx/dsmg600-setup.c b/arch/arm/mach-ixp4xx/dsmg600-setup.c index 8cb07437a807..a51bfa6978b6 100644 --- a/arch/arm/mach-ixp4xx/dsmg600-setup.c +++ b/arch/arm/mach-ixp4xx/dsmg600-setup.c | |||
@@ -65,7 +65,7 @@ static struct platform_device dsmg600_i2c_gpio = { | |||
65 | 65 | ||
66 | static struct i2c_board_info __initdata dsmg600_i2c_board_info [] = { | 66 | static struct i2c_board_info __initdata dsmg600_i2c_board_info [] = { |
67 | { | 67 | { |
68 | I2C_BOARD_INFO("rtc-pcf8563", 0x51), | 68 | I2C_BOARD_INFO("pcf8563", 0x51), |
69 | }, | 69 | }, |
70 | }; | 70 | }; |
71 | 71 | ||
diff --git a/arch/arm/mach-ixp4xx/nas100d-setup.c b/arch/arm/mach-ixp4xx/nas100d-setup.c index 159e1c4f1eda..84b5e62a9c0a 100644 --- a/arch/arm/mach-ixp4xx/nas100d-setup.c +++ b/arch/arm/mach-ixp4xx/nas100d-setup.c | |||
@@ -54,7 +54,7 @@ static struct platform_device nas100d_flash = { | |||
54 | 54 | ||
55 | static struct i2c_board_info __initdata nas100d_i2c_board_info [] = { | 55 | static struct i2c_board_info __initdata nas100d_i2c_board_info [] = { |
56 | { | 56 | { |
57 | I2C_BOARD_INFO("rtc-pcf8563", 0x51), | 57 | I2C_BOARD_INFO("pcf8563", 0x51), |
58 | }, | 58 | }, |
59 | }; | 59 | }; |
60 | 60 | ||
diff --git a/arch/arm/mach-ixp4xx/nslu2-setup.c b/arch/arm/mach-ixp4xx/nslu2-setup.c index d9a182895a0f..a48a6655b887 100644 --- a/arch/arm/mach-ixp4xx/nslu2-setup.c +++ b/arch/arm/mach-ixp4xx/nslu2-setup.c | |||
@@ -57,7 +57,7 @@ static struct i2c_gpio_platform_data nslu2_i2c_gpio_data = { | |||
57 | 57 | ||
58 | static struct i2c_board_info __initdata nslu2_i2c_board_info [] = { | 58 | static struct i2c_board_info __initdata nslu2_i2c_board_info [] = { |
59 | { | 59 | { |
60 | I2C_BOARD_INFO("rtc-x1205", 0x6f), | 60 | I2C_BOARD_INFO("x1205", 0x6f), |
61 | }, | 61 | }, |
62 | }; | 62 | }; |
63 | 63 | ||