Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1211896 > unrolled thread
| Started by | Jacek Anaszewski <j.anaszewski@samsung.com> |
|---|---|
| First post | 2015-08-24 10:20 +0200 |
| Last post | 2015-08-24 10:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v2] leds: leds-fsg: Use devm_led_classdev_register Jacek Anaszewski <j.anaszewski@samsung.com> - 2015-08-24 10:20 +0200
| From | Jacek Anaszewski <j.anaszewski@samsung.com> |
|---|---|
| Date | 2015-08-24 10:20 +0200 |
| Subject | Re: [PATCH v2] leds: leds-fsg: Use devm_led_classdev_register |
| Message-ID | <q0V8Z-22N-1@gated-at.bofh.it> |
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@gmail.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web