From: Viresh Kumar Date: Thu, 4 Sep 2014 12:01:33 +0000 (+0530) Subject: power-supply: Use PTR_ERR_OR_ZERO() routine X-Git-Tag: fixes-against-v3.18-rc2~70^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d2410c79b5b2dd741648de26ad52ffd2ce3dc01;p=pandora-kernel.git 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 Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed