diff options
author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2015-08-18 05:28:40 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-09-01 12:55:32 +0200 |
commit | 7b554088d56e9df3ee5dff8989b44903965bad95 (patch) | |
tree | d7fd9ff4f6b41ddc4d5361e1b51e48acd6709a35 /drivers/video/fbdev/bw2.c | |
parent | fbdev: ssd1307fb: fix error return code (diff) | |
download | linux-7b554088d56e9df3ee5dff8989b44903965bad95.tar.xz linux-7b554088d56e9df3ee5dff8989b44903965bad95.zip |
video: fbdev: pxa168fb: Use devm_clk_get
This patch introduces the use of managed resource function
devm_clk_get instead of clk_get and removes corresponding calls
to clk_put in the probe and remove functions.
To be compatible with the change various gotos are replaced with
direct returns, and unneeded label failed_put_clk is dropped.
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/bw2.c')
0 files changed, 0 insertions, 0 deletions