]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: pwm: Prints error number along with detail
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 14 Mar 2016 12:50:13 +0000 (18:20 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 15 Mar 2016 08:51:28 +0000 (08:51 +0000)
commit5bf59bd5e9a5b262110df8c1ea5ad8820d7d524a
tree205c6a07f8d585e8aecfcd020f736ebecc1e560c
parentf907a0a9498db29fb7c91b798d7af70add7dd86e
regulator: pwm: Prints error number along with detail

Prints the error number along with error message when any
error occurs. This help on getting the reason of failure
quickly from log without any code instrument.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pwm-regulator.c