summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorGerhard Sittig2013-07-19 14:18:31 +0200
committerAnatolij Gustschin2013-08-23 19:25:03 +0200
commit7282bdb224658b25b445f2b1b3f6cab93cbef961 (patch)
treef61363d663c87941cbfcd27a30664d7da32f1466 /drivers/mtd
parentserial: mpc512x: cleanup clock API use (diff)
downloadkernel-qcow2-linux-7282bdb224658b25b445f2b1b3f6cab93cbef961.tar.gz
kernel-qcow2-linux-7282bdb224658b25b445f2b1b3f6cab93cbef961.tar.xz
kernel-qcow2-linux-7282bdb224658b25b445f2b1b3f6cab93cbef961.zip
USB: fsl-mph-dr-of: cleanup clock API use
use devm_get_clk() for automatic put upon device release, check for and propagate errors when enabling clocks, must prepare clocks before they can get enabled, unprepare after disable need to use the _parent_ of the platform device for clock lookup, since this one is associated with the respective device tree node; this change remains neutral as long as a "globally" provided "usb%d_clk" item gets provided by either the PPC_CLOCK implementation or clkdev_register'ed aliases, using the correct devide and thus referencing the right DT node becomes essential when clock lookup will become based on device tree when common clock support will get introduced Signed-off-by: Gerhard Sittig <gsi@denx.de> Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions