]> git.karo-electronics.de Git - linux-beck.git/commit
can: xilinx: Convert to runtime_pm
authorKedareswara rao Appana <appana.durga.rao@xilinx.com>
Mon, 26 Oct 2015 06:11:54 +0000 (11:41 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 23 Nov 2015 08:51:34 +0000 (09:51 +0100)
commit4716620d1b6291ce45522d1346c086f76b995d1c
tree8946259f6b06769d0f1987ab91c92cd16f74dc3e
parent3f8c0f7efb4fcac11f31afa97584d06118c614bb
can: xilinx: Convert to runtime_pm

Instead of enabling/disabling clocks at several locations in the driver,
Use the runtime_pm framework. This consolidates the actions for runtime PM
In the appropriate callbacks and makes the driver more readable and mantainable.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/xilinx_can.c