serial: sccnxp: Replace pdata.init/exit with regulator API
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 13 Apr 2013 04:46:58 +0000 (08:46 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Apr 2013 18:04:07 +0000 (11:04 -0700)
commit31815c08fc90f44d6165034fd473f23df5d31449
tree48be647acdf3b2e04268099739e1a29a13f1bac5
parent289b8dd695836fc295cf3cb4e1e520322495556c
serial: sccnxp: Replace pdata.init/exit with regulator API

Typical usage of pdata.init/exit is enable/disable power and/or toggle
reset for the target chip.
This patch replaces these callbacks with regulator API.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sccnxp.c
include/linux/platform_data/serial-sccnxp.h