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: NKalle Jokiniemi <kalle.jokiniemi@nokia.com> Acked-By: NHeikki Krogerus <heikki.krogerus@nokia.com> Acked-by: NTony Lindgren <tony@atomide.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
Showing
想要评论请 注册 或 登录