Re: [PATCH] platform/x86: intel-hid: do not set parents of input devices explicitly

2017-03-13 Thread Andy Shevchenko
On Mon, Mar 13, 2017 at 12:37 PM, Alex Hung wrote: > On 2017-03-09 05:36 PM, Michał Kępień wrote: >> >> 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ń Pus

Re: [PATCH] platform/x86: intel-hid: do not set parents of input devices explicitly

2017-03-13 Thread Alex Hung
On 2017-03-09 05:36 PM, Michał Kępień wrote: 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ń --- This patch needs my recent intel-hid cleanup series to apply cleanly.

[PATCH] platform/x86: intel-hid: do not set parents of input devices explicitly

2017-03-09 Thread Michał Kępień
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ń --- This patch needs my recent intel-hid cleanup series to apply cleanly. In other words, it should apply on top of test