mfd: intel_soc_pmic_bxtwc: Utilize devm_* functions in driver probe
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Mon, 5 Jun 2017 19:08:04 +0000 (12:08 -0700)
committerLee Jones <lee.jones@linaro.org>
Mon, 19 Jun 2017 14:44:55 +0000 (15:44 +0100)
commit5131f072e5bff3a6a1da6b8f4882b6747e8c2a49
tree6970b04b99b1daff3427432b2188609f216a50df
parenta1d28c5991137f789162f412764dd7471aca6ec0
mfd: intel_soc_pmic_bxtwc: Utilize devm_* functions in driver probe

Cleanup the resource allocation/free code in probe function by using
devm_* calls.

Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel_soc_pmic_bxtwc.c