diff options
| author | Michał Kępień <[email protected]> | 2017-05-19 09:44:44 +0200 |
|---|---|---|
| committer | Darren Hart (VMware) <[email protected]> | 2017-06-03 12:04:00 -0700 |
| commit | a4b176ea9ab8b10d976dde61972ac884f888ba56 (patch) | |
| tree | 9f214b5c0a457ade1b414725a4ded9a7dfb7ca66 /tools/perf/scripts/python | |
| parent | f2db7c646b716160dbb8832c24d47a35e9ac299a (diff) | |
platform/x86: fujitsu-laptop: allocate fujitsu_laptop in acpi_fujitsu_laptop_add()
Only allocate memory for struct fujitsu_laptop when the FUJ02E3 ACPI
device is present. Use devm_kzalloc() for allocating memory to simplify
cleanup.
Signed-off-by: Michał Kępień <[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