summaryrefslogtreecommitdiffstats
path: root/drivers/power/bq2415x_charger.c
diff options
context:
space:
mode:
authorEbru Akagunduz <ebru.akagunduz@gmail.com>2014-10-08 16:09:46 +0200
committerSebastian Reichel <sre@kernel.org>2014-10-15 10:37:05 +0200
commit8000ebf76224a01adab9c1c16c341f54706292d5 (patch)
tree69f339d53ab2736abc289a6d1e25682e5f5fb4f1 /drivers/power/bq2415x_charger.c
parentpower: ab8500_fg: Fix build warning (diff)
downloadlinux-8000ebf76224a01adab9c1c16c341f54706292d5.tar.xz
linux-8000ebf76224a01adab9c1c16c341f54706292d5.zip
power: ab8500_fg.c: use 64-bit time types
This patch changes 32-bit time types to 64-bit in drivers/power/ab8500_fg.c timespec and time_t can only represent signed 32-bit dates but the driver should represent dates that are after January 2038. So used time64.h header file and its proper types and functions. Use time64_t type instead of __kernel_time_t for time_stamps variable of ab8500_fg_avg_cap struct Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/bq2415x_charger.c')
0 files changed, 0 insertions, 0 deletions