]> 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)
commitf72db346cef766ba646afbb7641fffe2df62ea2e
tree51b90686a4e174fe97bc26bdd0346b5087c15e55
parenta29f6c04682528f5b803e1cb918cd889887fa716
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