From: Sergei Shtylyov Date: Fri, 28 Aug 2015 18:35:14 +0000 (+0300) Subject: phylib: simplify NULL checks X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~44^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef899c0778a39063816e19d749a688c06a6ac78e;p=pandora-kernel.git phylib: simplify NULL checks Fix scripts/checkpatch.pl's messages like: CHECK: Comparison to NULL could be written "!phydrv->read_mmd_indirect" BTW, it doesn't detect the reversed comparisons (which I've fixed as well). Signed-off-by: Sergei Shtylyov Signed-off-by: David S. Miller --- Reading git-diff-tree failed