From: Dan Carpenter Date: Thu, 7 Nov 2013 08:06:17 +0000 (+0300) Subject: pm2301-charger: Remove unneeded NULL checks X-Git-Tag: v3.13-rc1~45^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8024234c20eaf7b163cc4dbd963cb9cd03a4ff1;p=pandora-kernel.git pm2301-charger: Remove unneeded NULL checks If "pm2" were NULL we would oops printing the error message. Fortunately, that's not possible so I have removed the NULL checks. Signed-off-by: Dan Carpenter Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed