leds: leds-ipaq-micro: Use devm_led_classdev_register
authorMuhammad Falak R Wani <falakreyaz@gmail.com>
Mon, 7 Sep 2015 14:13:23 +0000 (19:43 +0530)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Tue, 3 Nov 2015 07:59:15 +0000 (08:59 +0100)
commit431557f4a44f582f83fd83cbee571baeab24b853
tree986b711b3c6449f7535c4ae72cd9c073ec831f4f
parent583a2b2cd73c13a91b5f529466dec4d27716d226
leds: leds-ipaq-micro: Use devm_led_classdev_register

Use of resource-managed function devm_led_classdev_register
instead of led_classdev_register is preferred, consequently
remove redundant function micro_leds_remove.

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/leds/leds-ipaq-micro.c