Thread (2 messages) 2 messages, 2 authors, 2015-09-01

Re: [PATCH] video: fbdev: Use devm_clk_get

From: Tomi Valkeinen <hidden>
Date: 2015-09-01 10:56:39
Also in: lkml


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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help