[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <55ED416D.2000408@samsung.com>
Date: Mon, 07 Sep 2015 09:49:01 +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-ot200: Use devm_led_classdev_register
On 09/05/2015 04:23 PM, Muhammad Falak R Wani wrote:
> Use resource-managed function devm_led_classdev_register
> instead of led_classdev_register to make the error path simpler.
> The goto is replaced with direct return, unneeded label err is
> dropped. Also, remove redundant ot200_led_remove.
>
> Signed-off-by: Muhammad Falak R Wani <falakreyaz@...il.com>
> ---
> drivers/leds/leds-ot200.c | 21 ++-------------------
> 1 file changed, 2 insertions(+), 19 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