]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: thinkpad_acpi: 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)
commit253e17136d98ac376cba79745b0b1db3403de39a
treea411a2e98ea6f19b706132bfb2f24ebb31d4bc4d
parent48137e39d0b89ddccb13c1558a290a628e4d9229
platform/x86: thinkpad_acpi: 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/thinkpad_acpi.c