OMAP2430: hwmod data: Use common dev_attr for i2c1 and i2c2
authorBenoit Cousson <b-cousson@ti.com>
Wed, 22 Dec 2010 04:08:34 +0000 (21:08 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 04:31:00 +0000 (21:31 -0700)
commit50ebb7772c8975086dbfc3d21be74dd806650df4
treeb172edbb6a46cd25d838d266aa9b751055640b70
parent5a7ddcbdaf1bb7603422fb6188156ccc39711b0f
OMAP2430: hwmod data: Use common dev_attr for i2c1 and i2c2

Since i2c1 and i2c2 are using the same data, remove the two previous
instances and use a common i2c_dev_attr one.

Moreover, that will fix the following warning:
arch/arm/mach-omap2/omap_hwmod_2430_data.c:485:
warning: 'i2c_dev_attr' defined but not used

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Charulatha V <charu@ti.com>
arch/arm/mach-omap2/omap_hwmod_2430_data.c