pm2301-charger: Remove unneeded NULL checks
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 7 Nov 2013 08:06:17 +0000 (11:06 +0300)
committerAnton Vorontsov <anton@enomsg.org>
Wed, 13 Nov 2013 06:36:34 +0000 (22:36 -0800)
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>

No differences found