]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
intel_scu_ipc: Fix error path by turning to devm_* / pcim_*
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Oct 2015 11:19:44 +0000 (14:19 +0300)
committerDarren Hart <dvhart@linux.intel.com>
Thu, 15 Oct 2015 15:21:32 +0000 (08:21 -0700)
commitf63fbcee6720a529b8f94c7d72539c15a1a7a7f8
tree248ade7586f4ad9ad79d3b7c9dc6f534c8e65354
parentc4602280869e7aceb1245f525eff923e548ec9f3
intel_scu_ipc: Fix error path by turning to devm_* / pcim_*

The error handling is broken right now since it leaves resources unfreed.
Convert the code to use managed resources to fix the error handling.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/intel_scu_ipc.c