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)
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>

No differences found