commit | c6cc9fc9d42ec82da2c770f0bef1488dc467f29c | [log] [tgz] |
---|---|---|
author | Syam Sidhardhan <syamsidhardh@gmail.com> | Mon Feb 25 04:33:25 2013 +0530 |
committer | Anton Vorontsov <anton@enomsg.org> | Mon Mar 18 19:43:03 2013 -0700 |
tree | 792940a7c9afc196d69453b2b96b8c65f7dd3fe9 | |
parent | 9239ebcffb9301eab75c638dcb702688884cc5d6 [diff] |
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>