staging: nvec: replace led_classdev_register
authorHari Prasath Gujulan Elango <hgujulan@visteon.com>
Thu, 21 Jan 2016 10:23:46 +0000 (10:23 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 04:00:04 +0000 (20:00 -0800)
commitf52e240816cb268a11fee011aa9b7dc4185d9ded
tree4915ab36fcf796e8fa03f256dec4da0c56a3921a
parent66ad85d13f56b464ca91de269b067fcc9b5f3313
staging: nvec: replace led_classdev_register

Replace the led_classdev_register() with the platform managed version
devm_led_classdev_register() & henceforth remove the redundant
nvec_paz00_remove() function.

Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec_paz00.c