]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit575ad4bae0992ee0b9e858870d2f980e4d1f48ee
tree0168f61f6e55372b782c86b26ee3419f2236286e
parenta25d7bcc1694c89f78997fadfbf220e1922b7558
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