There are no current SoCs where i2c1 is anything other than an s3c2440-i2c implementation, so change the device's name to be s3c2440-i2c so we can go and eliminate the calls in the cpu-init which set the name. Signed-off-by: Ben Dooks <ben-linux@xxxxxxxxx> --- arch/arm/plat-samsung/dev-i2c1.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-samsung/dev-i2c1.c b/arch/arm/plat-samsung/dev-i2c1.c index 858ee2a..f97905f 100644 --- a/arch/arm/plat-samsung/dev-i2c1.c +++ b/arch/arm/plat-samsung/dev-i2c1.c @@ -38,7 +38,8 @@ static struct resource s3c_i2c_resource[] = { }; struct platform_device s3c_device_i2c1 = { - .name = "s3c2410-i2c", + /* default to s3c2440-i2c as no SoC with >1 I2C is s3c2410 style */ + .name = "s3c2440-i2c", .id = 1, .num_resources = ARRAY_SIZE(s3c_i2c_resource), .resource = s3c_i2c_resource, -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html