]> git.baikalelectronics.ru Git - kernel.git/commit
zd1211rw: stop using deprecated get_seconds()
authorArnd Bergmann <arnd@arndb.de>
Mon, 18 Jun 2018 15:11:15 +0000 (17:11 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 27 Jun 2018 16:10:21 +0000 (19:10 +0300)
commit8ec20c3a6fb1050f8c1d421b3bdee877b1dfe750
treec1e1335506f3ab4dd5b3f863ea33aab33570a4ed
parent741d4325ab64b405b0768e45e5cdc48c896625b2
zd1211rw: stop using deprecated get_seconds()

The get_seconds() function is deprecated because of the y2038 overflow.
In zd1211rw we don't even care about the absolute value, so this is
not a problem, but it's equally trivial to change to the non-deprecated
ktime_get_seconds().

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/zydas/zd1211rw/zd_chip.c