rtc: rx8025: simplify getting the adapter of a client
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 8 Jun 2019 10:56:09 +0000 (12:56 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 9 Jun 2019 14:48:10 +0000 (16:48 +0200)
commit110036b4f4db61f59cc478ecb9c34e2503b60c34
treef18eaac4de3e59af7b29d19a7ae6f0928593241c
parent9d085c54202dec9abcf401eb77013ea8603f5188
rtc: rx8025: 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-rx8025.c