]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: toshiba_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:17:28 +0000 (20:17 +0300)
commit9696ccd740d5454c28d3946b939f7cf024986905
treeeee516467f1d8f3eab40c5a7254699ac7feedf09
parent253e17136d98ac376cba79745b0b1db3403de39a
platform/x86: toshiba_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/toshiba_acpi.c