OSDN Git Service

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)
commit5cb172694a010c9ec786f6ecc2290369f7271108
tree474883920a910ac99d658c852ff640d482ae788c
parente5108df402f7729381538720de41da4f178eae3b
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