commit | 5614a4a3ca0e8806e144419536f52df419caa14f | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Mon Mar 23 22:30:39 2020 +0100 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Tue Mar 24 22:48:04 2020 +0100 |
tree | 19941f71dc728d551ce7dc5b1e33c572ff48c0bf | |
parent | f1cd223389f04bfb26bfe30b5ac2558733fee34f [diff] |
rtc: class: avoid unnecessary lookup in hctosys rtc_hctosys is only called when the relevant RTC is found, avoid looking it up while we already have a pinter to the proper struct rtc_device. Link: https://lore.kernel.org/r/20200323213039.297458-1-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>