Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information