video: fbdev: pxa168fb: Use devm_clk_get
authorVaishali Thakkar <vthakkar1994@gmail.com>
Tue, 18 Aug 2015 03:28:40 +0000 (08:58 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 1 Sep 2015 10:55:32 +0000 (13:55 +0300)
commit7b554088d56e9df3ee5dff8989b44903965bad95
treed7fd9ff4f6b41ddc4d5361e1b51e48acd6709a35
parentc4e6774de19f4638bb887a47a58ee21d6809360b
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>
drivers/video/fbdev/pxa168fb.c