]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: m41t80: simplify getting the adapter of a client
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 8 Jun 2019 10:56:06 +0000 (12:56 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 9 Jun 2019 14:48:04 +0000 (16:48 +0200)
commit302a856619bc6515790a850401212589ace20e61
tree0798191c1049a10944e5861591662fc8d1ec623e
parentcd6b7dfbd43f88f14fea0da9c18983f472004e22
rtc: m41t80: simplify getting the adapter of a client

We have a dedicated pointer for that, so use it. Much easier to read and
less computation involved.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-m41t80.c