da9030_battery: Don't use 0 as NULL
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Thu, 23 Aug 2012 02:59:45 +0000 (19:59 -0700)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Thu, 23 Aug 2012 03:00:45 +0000 (20:00 -0700)
commitc084e092e47ca2435673702c6cf6e87a731ecc6f
tree8f21758a9f4ac762f7ca718660d0889965d4dee4
parentb1b56872be3b36af19313bf0953b1361c36b4a98
da9030_battery: Don't use 0 as NULL

Noticed the new warning:

  CHECK   drivers/power/da9030_battery.c
drivers/power/da9030_battery.c:190:68: warning: Using plain integer as NULL pointer

This commit fixes the issue.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/da9030_battery.c