can: mcp251x: Replace power callbacks with regulator API
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 19 Aug 2013 11:39:19 +0000 (15:39 +0400)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 21 Aug 2013 07:28:29 +0000 (09:28 +0200)
commit1ddff7da0faecffdcdeab3d981fb8241453cea44
tree7388e85b2a844917fe3103c47bdb044799fba95f
parent954c396756e3d31985f7bc6a414a988a4736a7d0
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>
arch/arm/mach-pxa/icontrol.c
arch/arm/mach-pxa/zeus.c
drivers/net/can/mcp251x.c
include/linux/can/platform/mcp251x.h