Re: [PATCH] leds: leds-hp6xx: Use of devm_classdev_register

2015-10-27 Thread Jacek Anaszewski
Hi Fida, Thanks for the patch. It doesn't apply smoothly, though. Please rebase the patch on the top of LED git tree [1], for-next branch. [1] git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git Best Regards, Jacek Anaszewski On 10/26/2015 06:00 PM, Fida Mohammad

Re: [PATCH] leds: leds-hp6xx: Use of devm_classdev_register

2015-10-27 Thread Jacek Anaszewski
Hi Fida, Thanks for the patch. It doesn't apply smoothly, though. Please rebase the patch on the top of LED git tree [1], for-next branch. [1] git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git Best Regards, Jacek Anaszewski On 10/26/2015 06:00 PM, Fida Mohammad

[PATCH] leds: leds-hp6xx: Use of devm_classdev_register

2015-10-26 Thread Fida Mohammad
Use resource managed function devm_classdev_register to make error path simpler. Also removed the redundant remove function. Signed-off-by: Fida Mohammad --- drivers/leds/leds-hp6xx.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/leds/leds-hp6xx.c

[PATCH] leds: leds-hp6xx: Use of devm_classdev_register

2015-10-26 Thread Fida Mohammad
Use resource managed function devm_classdev_register to make error path simpler. Also removed the redundant remove function. Signed-off-by: Fida Mohammad --- drivers/leds/leds-hp6xx.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git