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