[PATCH 3/8] lp8727_charger: fix buggy code when the platform data is NULL

2012-08-30 Thread Kim, Milo
Even the platform data is not defined, lp8727 driver should be run (a) change charger platform data type to pointer (b) name change: chg_parm -> chg_param (c) fix NULL point access problem when getting the battery properties Signed-off-by: Milo(Woogyom) Kim --- drivers/power/lp8727_charger.c

[PATCH 3/8] lp8727_charger: fix buggy code when the platform data is NULL

2012-08-30 Thread Kim, Milo
Even the platform data is not defined, lp8727 driver should be run (a) change charger platform data type to pointer (b) name change: chg_parm - chg_param (c) fix NULL point access problem when getting the battery properties Signed-off-by: Milo(Woogyom) Kim milo@ti.com ---