[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <55DAD314.1030802@samsung.com>
Date: Mon, 24 Aug 2015 10:17:24 +0200
From: Jacek Anaszewski <j.anaszewski@...sung.com>
To: Vaishali Thakkar <vthakkar1994@...il.com>
Cc: Bryan Wu <cooloney@...il.com>, linux-leds@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] leds: leds-fsg: Use devm_led_classdev_register
On 08/18/2015 04:20 PM, Vaishali Thakkar wrote:
> Use resource-managed function devm_led_classdev_register instead
> of led_classdev_register to make the error-path simpler.
>
> To be compatible with the change, various gotos are replced with
> direct returns and unneeded labels are dropped. Also, remove
> fsg_led_remove as it is now redundant.
>
> Signed-off-by: Vaishali Thakkar <vthakkar1994@...il.com>
> ---
> Changes since v1:
> - Fix build errors
> ---
> drivers/leds/leds-fsg.c | 52 ++++++++++++-------------------------------------
> 1 file changed, 12 insertions(+), 40 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