Florian Westphal 4d0e965732 drivers: replace dev->trans_start accesses with dev_trans_start
a trans_start struct member exists twice:
- in struct net_device (legacy)
- in struct netdev_queue

Instead of open-coding dev->trans_start usage to obtain the current
trans_start value, use dev_trans_start() instead.

This is not exactly the same, as dev_trans_start also considers
the trans_start values of the netdev queues owned by the device
and provides the most recent one.

For legacy devices this doesn't matter as dev_trans_start can cope
with netdev trans_start values of 0 (they are ignored).

This is a prerequisite to eventual removal of dev->trans_start.

Cc: linux-rdma@vger.kernel.org
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-04 14:16:47 -04:00
..
2016-04-02 01:17:36 +02:00
2016-03-01 16:38:16 -08:00
2016-03-23 17:52:10 +02:00
2016-04-12 12:35:07 -07:00
2016-04-15 15:40:49 -07:00
2016-04-29 14:22:25 +02:00
2016-04-16 22:52:03 +05:30
2016-03-25 08:52:25 -07:00
2016-03-17 13:47:50 -07:00
2016-04-07 22:11:08 +02:00
2016-03-23 17:20:59 -07:00
2016-04-28 19:44:47 -07:00
2016-03-24 19:57:15 -07:00
2016-03-18 10:15:11 -07:00
2016-04-29 18:50:08 -07:00
2016-04-15 15:25:09 -07:00
2016-04-18 19:52:47 -07:00
2016-04-27 08:57:11 -07:00
2016-04-14 16:54:00 +02:00
2016-03-18 10:15:11 -07:00
2016-04-25 16:20:49 -04:00
2016-03-04 12:12:08 +01:00
2016-04-20 10:38:06 +03:00
2016-03-17 13:05:09 -07:00
2016-04-04 11:18:00 +01:00