]> rtime.felk.cvut.cz Git - zynq/linux.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)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 11 Nov 2015 08:38:40 +0000 (09:38 +0100)
commit634c8575727e18c2d4aca202f7cf5fc900548ccc
treec621a9038c940243a3045f0cc600ae6ad5534217
parent9f646cb9a7023da59895adbbc82bf745ce4a9b26
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: Michal Simek <michal.simek@xilinx.com>
drivers/net/can/xilinx_can.c