diff options
author | 2017-09-04 22:37:21 -0700 | |
---|---|---|
committer | 2017-10-01 17:33:56 +0300 | |
commit | d7ca5ebf2493ddd610d07cc1c6c48de8fabb0496 (patch) | |
tree | a5292bda588e90b1a16967452174d0b124bfc0a1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86: thinkpad_acpi: Implement tablet mode using GMMS method (diff) | |
download | linux-dev-d7ca5ebf2493ddd610d07cc1c6c48de8fabb0496.tar.xz linux-dev-d7ca5ebf2493ddd610d07cc1c6c48de8fabb0496.zip |
platform/x86: intel_pmc_ipc: Use devm_* calls in driver probe function
This patch cleans up unnecessary free/alloc calls in ipc_plat_probe(),
ipc_pci_probe() and ipc_plat_get_res() functions by using devm_*
calls.
This patch also adds proper error handling for failure cases in
ipc_pci_probe() function.
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
[andy: fixed style issues, missed devm_free_irq(), removed unnecessary log message]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions