Re: [PATCH] video: fbdev: Use devm_clk_get

From
Tomi Valkeinen <hidden>
Date
2015-09-01 10:56:39
Also in
lkml
Reply to
Vaishali Thakkar, 2015-08-18

On 18/08/15 06:28, Vaishali Thakkar wrote:
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 <redacted>
---
 drivers/video/fbdev/pxa168fb.c | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
Thanks, queued for 4.3.

 Tomi

Attachments

Thread (2 messages) 2 messages, 2 authors, last reply 2015-09-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help