platform/x86: intel-hid: do not set parents of input devices explicitly
authorMichał Kępień <kernel@kempniu.pl>
Thu, 9 Mar 2017 09:36:51 +0000 (10:36 +0100)
committerDarren Hart <dvhart@infradead.org>
Wed, 15 Mar 2017 05:58:12 +0000 (22:58 -0700)
commit1fe55309462cc9b2dcefe6eb91e7adeba5e59e89
tree25a629d926d17a619f3a6e4561181807bad7c6d0
parentdb8f95d0141926a673484d228cd4040f5b10972f
platform/x86: intel-hid: do not set parents of input devices explicitly

devm_input_allocate_device() already causes the supplied struct device
to be set as the parent of the input device, so doing it again is
redundant.

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