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: NHaojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: NAlexander Shiyan <shc_work@mail.ru> Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
Showing
想要评论请 注册 或 登录