]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rv8803: simplify getting the adapter of a client
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 8 Jun 2019 10:56:07 +0000 (12:56 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 9 Jun 2019 14:48:06 +0000 (16:48 +0200)
commitd53d6658aa961d37d590cb3f51bd7ab3ac64e2ff
tree474883920a910ac99d658c852ff640d482ae788c
parent302a856619bc6515790a850401212589ace20e61
rtc: rv8803: 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-rv8803.c