ARM: at91: set i2c_board_info.type to "ds1339" directly
commitc1cb59fde7d1570e23d97d9b2a988760f732e28b
authorPaul Bolle <pebolle@tiscali.nl>
Thu, 24 May 2012 14:30:29 +0000 (24 16:30 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 2 Jul 2012 14:18:12 +0000 (2 16:18 +0200)
tree80a1343b4b2b5bbef9a1bf2e073a2feb8851c6f9
parentb4084bcf5ae833e049b0c428868de7e4efae2e4f
ARM: at91: set i2c_board_info.type to "ds1339" directly

The single element of the cpu9krea_i2c_devices array (of type struct
i2c_board_info) has its "type" member set twice. First to "rtc-ds1307"
(through the I2C_BOARD_INFO macro) and then directly to "ds1339". Just
set it (once and) directly to "ds1339" instead.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/board-cpu9krea.c