[PATCH v2 1/5] intel_scu_ipc: fix error path by turning to devm_* / pcim_*

2015-10-12 Thread Andy Shevchenko
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 --- drivers/platform/x86/intel_scu_ipc.c | 26 -- 1 file changed, 8 insertions(+), 18

[PATCH v2 1/5] intel_scu_ipc: fix error path by turning to devm_* / pcim_*

2015-10-12 Thread Andy Shevchenko
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 --- drivers/platform/x86/intel_scu_ipc.c | 26 -- 1 file