From: Syam Sidhardhan Date: Sun, 24 Feb 2013 23:03:25 +0000 (+0530) Subject: s3c-adc-battery: Fix possible NULL pointer dereference X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~93^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6cc9fc9d42ec82da2c770f0bef1488dc467f29c;p=pandora-kernel.git s3c-adc-battery: Fix possible NULL pointer dereference Check for (bat == NULL) has to be done before accessing bat Signed-off-by: Syam Sidhardhan Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed