]> 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)
commit410a772419bf7d5641ecb7c75a91d9768be2dbdb
tree94025a852162973108a64b073d97c09d92f9e062
parente257dd340f2723be1a28d41e1a66d589ec3d914c
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