]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: asus-wmi: 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 16:38:48 +0000 (19:38 +0300)
commit9fa89b862541607d59d3dc7f03099665b7e6b746
tree1a153a4944c553a3809b6a8236012260ab529f4c
parent629c248646693a003f7e73181ef6165a76b4aaa3
platform/x86: asus-wmi: Drop duplicate check for led_classdev_unregister()

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

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