]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: eeepc-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:39:32 +0000 (19:39 +0300)
commit9d0fed9a981684fc787efcbd276c2386e7ab7a95
tree5efc1841848ae6321347a04aa7ac350cd8e57d32
parent9fa89b862541607d59d3dc7f03099665b7e6b746
platform/x86: eeepc-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/eeepc-laptop.c