There are unused variable build warnings made from interactive
charger after rebasing.
Note: When doing rebase, this patch should be squashed into fixed commit.
Change-Id: I3f21899e8c8f349c2ea3d6d341af88b05814198e
Fixes:
5bf0f4c22486 ("trats2: add support to interactive charger")
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
[sw0312.kim: add missed pbat]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
DECLARE_GLOBAL_DATA_PTR;
+#ifndef CONFIG_DM_I2C /* TODO(maintainer): Convert to driver model */
/* For global battery and charger functions */
static struct power_battery *pbat;
static struct pmic *p_chrg, *p_muic, *p_fg, *p_bat;
static int power_init_done;
+#endif
static unsigned int board_rev = -1;
static inline u32 get_model_rev(void);