Skip to content
Commit c8024234 authored by Dan Carpenter's avatar Dan Carpenter Committed by Anton Vorontsov
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarAnton Vorontsov <anton@enomsg.org>
parent ec0b3802
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment