Amitoj Kaur Chawla 353b39d1b1 ide: pdc202xx_new: Replace timeval with ktime_t
This driver uses 'struct timeval' which we are trying to remove since
32 bit time types will break in the year 2038 by replacing it with
ktime_t.

This patch changes do_gettimeofday() to ktime_get() because
ktime_get() returns a ktime_t while do_gettimeofday() returns struct
timeval.

This patch also uses ktime_us_delta() to get the elapsed time.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-03 11:51:08 -05:00
..
2015-04-17 15:32:07 -04:00
2013-11-14 18:21:25 -05:00
2011-03-09 19:54:27 +01:00
2015-05-05 13:40:42 -06:00
2009-03-27 12:46:34 +01:00
2009-05-17 19:12:25 +02:00
2015-05-05 13:40:42 -06:00
2015-03-27 11:59:22 -04:00
2015-05-05 13:40:42 -06:00
2010-01-19 11:30:09 -08:00
2015-04-14 13:07:17 -04:00
2015-04-14 13:07:17 -04:00
2013-01-03 15:57:03 -08:00
2015-04-17 15:32:07 -04:00