s3c-adc-battery: Fix possible NULL pointer dereference
authorSyam Sidhardhan <syamsidhardh@gmail.com>
Sun, 24 Feb 2013 23:03:25 +0000 (04:33 +0530)
committerAnton Vorontsov <anton@enomsg.org>
Tue, 19 Mar 2013 02:43:03 +0000 (19:43 -0700)
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>

No differences found