]> git.baikalelectronics.ru Git - kernel.git/commit
intel-hid: Remove duplicated acpi_remove_notify_handler
authorAlex Hung <alex.hung@canonical.com>
Wed, 29 Jun 2016 03:41:15 +0000 (11:41 +0800)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 29 Jun 2016 05:18:35 +0000 (22:18 -0700)
commit4c6975399925afeec6dfbd3e64341aadd4d323f6
tree90cd86fbc550f26106b09d22bdee95cececa898e
parent6446f7e54645eb73bba375a858c1bbef2e72c7f9
intel-hid: Remove duplicated acpi_remove_notify_handler

The second call to acpi_remove_notify_handler does not result in panic
or generate error messages, but it is unnecessary and the function
returns with an error. Remove the duplicate call. Correct two improperly
indented lines.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/intel-hid.c