[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <55ED4182.4000806@samsung.com>
Date: Mon, 07 Sep 2015 09:49:22 +0200
From: Jacek Anaszewski <j.anaszewski@...sung.com>
To: Muhammad Falak R Wani <falakreyaz@...il.com>
Cc: Bryan Wu <cooloney@...il.com>, Richard Purdie <rpurdie@...ys.net>,
linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] leds: leds-hp6xx: Use devm_led_classdev_register
On 09/05/2015 09:53 PM, Muhammad Falak R Wani wrote:
> Use resource-managed function devm_led_classdev_register
> instead of led_classdev_register to simplify error path.
> An unnecessary check of ret is replaced with a direct return
> Also, remove redundant hp6xxled_remove.
>
> Signed-off-by: Muhammad Falak R Wani <falakreyaz@...il.com>
> ---
> drivers/leds/leds-hp6xx.c | 17 ++---------------
> 1 file changed, 2 insertions(+), 15 deletions(-)
>
Merged, thanks.
--
Best Regards,
Jacek Anaszewski
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists