]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: lg-laptop: Drop duplicate check for led_classdev_unregister()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 7 May 2020 16:37:23 +0000 (19:37 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 7 May 2020 17:14:17 +0000 (20:14 +0300)
commit2322f636698fc0d41c6f9e0d9526120438a128e2
tree94025a852162973108a64b073d97c09d92f9e062
parent9d0fed9a981684fc787efcbd276c2386e7ab7a95
platform/x86: lg-laptop: Drop duplicate check for led_classdev_unregister()

led_classdev_unregister() already has the similar check, so,
drop a duplicate in the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/lg-laptop.c