[PATCH v2 0/6] irda: Use ktime_t instead of timeval

From: Chunyan Zhang
Date: Wed Jan 07 2015 - 23:02:43 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):
irda: Removed all unused timeval variables
irda: ali-ircc: Replace timeval with ktime_t
irda: irda-usb: Replace timeval with ktime_t
irda: nsc-ircc: Replace timeval with ktime_t
irda: stir4200: Replace timeval with ktime_t
irda: vlsi_ir: Replace timeval with ktime_t

drivers/net/irda/ali-ircc.c | 11 +++-------
drivers/net/irda/ali-ircc.h | 5 ++---
drivers/net/irda/au1k_ir.c | 3 ---
drivers/net/irda/irda-usb.c | 10 ++-------
drivers/net/irda/irda-usb.h | 5 ++---
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 | 7 ++----
drivers/net/irda/nsc-ircc.h | 5 ++---
drivers/net/irda/stir4200.c | 16 ++++++--------
drivers/net/irda/via-ircc.h | 4 ----
drivers/net/irda/vlsi_ir.c | 46 ++++++++++++----------------------------
drivers/net/irda/vlsi_ir.h | 2 +-
15 files changed, 34 insertions(+), 89 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/