summaryrefslogtreecommitdiffstats
path: root/drivers/spmi/Makefile
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-09-04 17:31:33 +0530
committerSebastian Reichel <sre@kernel.org>2014-09-16 11:01:36 +0200
commit9d2410c79b5b2dd741648de26ad52ffd2ce3dc01 (patch)
tree857d401fb979d740b15faefc681d83468b128a5a /drivers/spmi/Makefile
parent061f3806bbe4d8e86dddf101f75f49c38d3f1669 (diff)
downloadop-kernel-dev-9d2410c79b5b2dd741648de26ad52ffd2ce3dc01.zip
op-kernel-dev-9d2410c79b5b2dd741648de26ad52ffd2ce3dc01.tar.gz
power-supply: Use PTR_ERR_OR_ZERO() routine
At multiple places we are doing exactly what PTR_ERR_OR_ZERO() does. And so that routine can be reused instead of increasing lines of code here. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/spmi/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud