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)
commit1d6de071cb0c321279373634d81eb8e176d887c4
tree90cd86fbc550f26106b09d22bdee95cececa898e
parent9ee27487127461b5cf71670b708ed5b2b8da568c
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