Re: [PATCH] video: fbdev: Use devm_clk_get

From: Tomi Valkeinen
Date: Tue Sep 01 2015 - 06:56:41 EST




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 <vthakkar1994@xxxxxxxxx>
> ---
> drivers/video/fbdev/pxa168fb.c | 14 ++++----------
> 1 file changed, 4 insertions(+), 10 deletions(-)

Thanks, queued for 4.3.

Tomi

Attachment: signature.asc
Description: OpenPGP digital signature