diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2015-08-28 20:35:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-28 23:15:25 +0200 |
commit | ef899c0778a39063816e19d749a688c06a6ac78e (patch) | |
tree | 461baa852a49e97a9175fdfb75a5910a05ca9413 /drivers/cpuidle | |
parent | phylib: simplify bogus phy_device_create() result (diff) | |
download | linux-ef899c0778a39063816e19d749a688c06a6ac78e.tar.xz linux-ef899c0778a39063816e19d749a688c06a6ac78e.zip |
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 <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions