]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: RX-51: Enable isp1704 power on/off
authorKalle Jokiniemi <kalle.jokiniemi@nokia.com>
Tue, 29 Mar 2011 13:28:00 +0000 (16:28 +0300)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 20 Apr 2011 13:48:50 +0000 (17:48 +0400)
commita9f7d925696c720b711fd387aff268d69db71b2f
tree51b90686a4e174fe97bc26bdd0346b5087c15e55
parente19b69761d70344874a56499910ccee58ed2323a
ARM: RX-51: Enable isp1704 power on/off

The isp1704 usb tranceiver is used for charging and can be
disabled when not in use. Provide the powering routine to
the driver via platform data.

Also changed the indent of ".name" variable in rx51_charger_device
definition to use tabs same way as the new ".dev" variable indent.
Put this in the same patch since the indent fix is only needed
when there are multiple members in the struct definition.

Loosely based on earlier patches from Heikki Krogerus in
Nokia N900 maemo kernel.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@nokia.com>
Acked-By: Heikki Krogerus <heikki.krogerus@nokia.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
arch/arm/mach-omap2/board-rx51-peripherals.c