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