zephyr: charger: support zephyr compilation
This change requires to avoid redefination of macro
CONFIG_CHARGER_BQ25710_PKPWR_TOVLD_DEG for zephyr.
BRANCH=none
TEST=make buildall
#define CONFIG_CHARGER_BQ25720_IDCHG_TH2 1
#endif
-#ifndef CONFIG_CHARGER_BQ25710_PKPWR_TOVLD_DEG_CUSTOM
+#if !defined(CONFIG_ZEPHYR) && \
+ !defined(CONFIG_CHARGER_BQ25710_PKPWR_TOVLD_DEG_CUSTOM)
#define CONFIG_CHARGER_BQ25710_PKPWR_TOVLD_DEG 0
#endif
