summaryrefslogtreecommitdiff
path: root/include/battery_smart.h
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2016-10-10 12:49:27 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-10-11 01:47:52 -0700
commitbc34c98edd0e303617ce0dae7b283b18d290b0e7 (patch)
tree1e976119b4b276212df23d0a3cdd6ba0ed1e364a /include/battery_smart.h
parent7bfcb41d2cad36c220eee89576e41dacea870adb (diff)
downloadchrome-ec-bc34c98edd0e303617ce0dae7b283b18d290b0e7.tar.gz
smart_battery: Remove smart charger unreachable code
Smart battery code has I2C read/write code for smart chargers which is an unreachable code for few boards hence removed it. BUG=none BRANCH=none TEST=make buildall -j Change-Id: I79933f61893c66447c686a81073c92f6a16e2d48 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/396279 Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com> Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include/battery_smart.h')
-rw-r--r--include/battery_smart.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/battery_smart.h b/include/battery_smart.h
index c5fd1d6eec..72b4cf6544 100644
--- a/include/battery_smart.h
+++ b/include/battery_smart.h
@@ -137,12 +137,6 @@
#define BATTERY_DISCHARGING_DISABLED 0x20
#define BATTERY_CHARGING_DISABLED 0x40
-/* Read from charger */
-int sbc_read(int cmd, int *param);
-
-/* Write to charger */
-int sbc_write(int cmd, int param);
-
/* Read from battery */
int sb_read(int cmd, int *param);