]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: asus-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 16:37:23 +0000 (19:37 +0300)
commit629c248646693a003f7e73181ef6165a76b4aaa3
tree733c475a6224c1cb078e127c8cb46c337167e2d6
parent9281998d3ee09866a1a1ec8edbaeb9d5dd7c6c88
platform/x86: asus-laptop: 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-laptop.c