commit | c8024234c20eaf7b163cc4dbd963cb9cd03a4ff1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Nov 07 11:06:17 2013 +0300 |
committer | Anton Vorontsov <anton@enomsg.org> | Tue Nov 12 22:36:34 2013 -0800 |
tree | c4d8e67a8da0551632a471c0f6b9bc4e4ac0d89e | |
parent | ec0b380245d7b7d4d8e4201facca780a14352cda [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: Anton Vorontsov <anton@enomsg.org>