]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e4c888085bbdf89706dfe109f2c90ca2789e689
treed7fd9ff4f6b41ddc4d5361e1b51e48acd6709a35
parent0a0e6af2c4a4541c9d98a6b9f7a11974f9bc1e93
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