leds: leds-net48xx: Use devm_led_classdev_register
authorMuhammad Falak R Wani <falakreyaz@gmail.com>
Fri, 16 Oct 2015 23:32:57 +0000 (05:02 +0530)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Tue, 3 Nov 2015 07:59:54 +0000 (08:59 +0100)
commit511676230b56249ecb613298f95f9910684fcb4f
treec41722d37258c2f5e26a3a812c0f9288cf2bdb0b
parent81aad9f81e6d89819f12656bd38df9ef639dbe45
leds: leds-net48xx: Use devm_led_classdev_register

Use devm_led_classdev_register instead of led_classdev_register,
removing the redundant net48xx_led_remove function.

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