]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: samsung-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:24 +0000 (20:14 +0300)
commit48137e39d0b89ddccb13c1558a290a628e4d9229
treea6cf5ab60f47215504b5d8bd6c3f0024932bfe23
parent2322f636698fc0d41c6f9e0d9526120438a128e2
platform/x86: samsung-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/samsung-laptop.c