s3c-adc-battery: Fix possible NULL pointer dereference
Check for (bat == NULL) has to be done before accessing bat Signed-off-by:Syam Sidhardhan <s.syam@samsung.com> Signed-off-by:
Anton Vorontsov <anton@enomsg.org>
Showing
Please register or sign in to comment