rtc: rx6110: simplify getting the adapter of a client
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 18 Sep 2021 21:35:51 +0000 (23:35 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 25 Sep 2021 21:27:39 +0000 (23:27 +0200)
commit38b17bc9c40e8f3138b02c624d9063b6781c8150
tree0168f61f6e55372b782c86b26ee3419f2236286e
parent6eee1c48be7cb0b9b14408521a9151c1021901d3
rtc: rx6110: 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>
Link: https://lore.kernel.org/r/20210918213553.14514-1-wsa+renesas@sang-engineering.com
drivers/rtc/rtc-rx6110.c