[PATCH 0/6] driver/net/irda: Use ktime_t instead of timeval
From: Chunyan Zhang
Date: Tue Jan 06 2015 - 22:40:50 EST
This patch-set removed all uses of timeval and used ktime_t instead if
needed, since 32-bit time types will break in the year 2038.
This patch-set also used the ktime_xxx functions accordingly.
e.g.
* Used ktime_get to get the current time instead of do_gettimeofday.
* And, used ktime_us_delta to get the elapsed time directly.
Chunyan Zhang (6):
driver/net/irda: Removed all unused timeval variables
driver/net/irda: Replace timeval with ktime_t in ali-ircc
driver/net/irda: Replace timeval with ktime_t in irda-usb
driver/net/irda: Replace timeval with ktime_t in nsc-ircc
driver/net/irda: Replace timeval with ktime_t in stir4200
driver/net/irda: Replace timeval with ktime_t in vlsi_ir
drivers/net/irda/ali-ircc.c | 12 ++++------
drivers/net/irda/ali-ircc.h | 6 ++---
drivers/net/irda/au1k_ir.c | 3 ---
drivers/net/irda/irda-usb.c | 11 +++------
drivers/net/irda/irda-usb.h | 6 ++---
drivers/net/irda/kingsun-sir.c | 3 ---
drivers/net/irda/ks959-sir.c | 3 ---
drivers/net/irda/mcs7780.c | 2 --
drivers/net/irda/mcs7780.h | 1 -
drivers/net/irda/nsc-ircc.c | 8 +++----
drivers/net/irda/nsc-ircc.h | 6 ++---
drivers/net/irda/stir4200.c | 18 +++++++-------
drivers/net/irda/via-ircc.h | 4 ----
drivers/net/irda/vlsi_ir.c | 51 ++++++++++++++--------------------------
drivers/net/irda/vlsi_ir.h | 2 +-
15 files changed, 46 insertions(+), 90 deletions(-)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/