diff options
| author | Michał Kępień <[email protected]> | 2017-03-14 11:26:30 +0100 |
|---|---|---|
| committer | Darren Hart (VMware) <[email protected]> | 2017-03-23 09:03:23 -0700 |
| commit | c33f4c044d2bb99bb42e1315ede267843dd81d4a (patch) | |
| tree | 53227415e716ee674dc76fc32d0060d08c31a276 /tools/perf/scripts/python | |
| parent | d811b511c18d9349a3880a4a7fff4c9c1169ac03 (diff) | |
platform/x86: fujitsu-laptop: only register platform device if FUJ02E3 is present
The platform device registered by fujitsu-laptop is registered
unconditionally while sysfs attributes attached to it depend on the
FUJ02E3 ACPI device being present. Fix this by moving platform device
creation and removal to acpi_fujitsu_laptop_add() and
acpi_fujitsu_laptop_remove(), respectively.
Signed-off-by: Michał Kępień <[email protected]>
Tested-by: Jonathan Woithe <[email protected]>
Reviewed-by: Jonathan Woithe <[email protected]>
Signed-off-by: Darren Hart (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions