platform/x86: intel-hid: make intel_hid_set_enable() take a boolean argument
authorMichał Kępień <kernel@kempniu.pl>
Fri, 24 Feb 2017 10:33:07 +0000 (11:33 +0100)
committerDarren Hart <dvhart@infradead.org>
Wed, 15 Mar 2017 05:57:10 +0000 (22:57 -0700)
commit99a75e7b05c764b82a1ba4b632c66d1b58b8fff7
tree2cec01e16c01809cf67e46d3149623291caf33ac
parent93ed249075599497fa0667d1b9873d66831fd0e0
platform/x86: intel-hid: make intel_hid_set_enable() take a boolean argument

As the integer value passed to intel_hid_set_enable() is always
explicitly passed and is used solely as a boolean value, make it a bool.

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-and-tested-by: Alex Hung <alex.hung@canonical.com>
drivers/platform/x86/intel-hid.c