mfd: intel_soc_pmic: Do not mangle error code from devm_gpiod_get_index()
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Fri, 13 Feb 2015 13:01:14 +0000 (15:01 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 3 Mar 2015 16:41:12 +0000 (16:41 +0000)
commitad7b5a175cda5425c97612c8b607a4c1992ad273
treefc1ce09e33ffecb528807c65995b0072f65746ed
parent9c98dcb08c85e67ce83f3a7f8785da20349533fe
mfd: intel_soc_pmic: Do not mangle error code from devm_gpiod_get_index()

It is usually better to pass actual error code from a function call than
mangling it to another.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel_soc_pmic_core.c