summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/icontrol.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-08-19 15:39:19 +0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2013-08-21 09:28:29 +0200
commit1ddff7da0faecffdcdeab3d981fb8241453cea44 (patch)
tree7388e85b2a844917fe3103c47bdb044799fba95f /arch/arm/mach-pxa/icontrol.c
parent954c396756e3d31985f7bc6a414a988a4736a7d0 (diff)
downloadlinux-1ddff7da0faecffdcdeab3d981fb8241453cea44.tar.bz2
can: mcp251x: Replace power callbacks with regulator API
This patch replaces power callbacks to the regulator API. To improve the readability of the code, helper for the regulator enable/disable was added. Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-pxa/icontrol.c')
-rw-r--r--arch/arm/mach-pxa/icontrol.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/icontrol.c b/arch/arm/mach-pxa/icontrol.c
index fe31bfcbb8df..c98511c5abd1 100644
--- a/arch/arm/mach-pxa/icontrol.c
+++ b/arch/arm/mach-pxa/icontrol.c
@@ -73,9 +73,6 @@ static struct pxa2xx_spi_chip mcp251x_chip_info4 = {
static struct mcp251x_platform_data mcp251x_info = {
.oscillator_frequency = 16E6,
- .board_specific_setup = NULL,
- .power_enable = NULL,
- .transceiver_enable = NULL
};
static struct spi_board_info mcp251x_board_info[] = {