platform/x86: fujitsu-laptop: Defer input device registration
authorMichał Kępień <kernel@kempniu.pl>
Sun, 11 Feb 2018 21:07:22 +0000 (22:07 +0100)
committerDarren Hart (VMware) <dvhart@infradead.org>
Sat, 24 Feb 2018 21:37:35 +0000 (13:37 -0800)
commita7a1ccbee3b61bdb044d3bbee958a3082cf8f9f9
tree550d03444ffeb6f139980f8453eda7fae6ccab2d
parent14966e0277d48e6c4cfa5af06e77831b10b9f8ae
platform/x86: fujitsu-laptop: Defer input device registration

Only register input devices after the device-specific data structures
they access are fully initialized.

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/fujitsu-laptop.c