diff options
| author | Rasmus Villemoes <[email protected]> | 2020-07-06 22:01:10 +0200 |
|---|---|---|
| committer | Heiko Schocher <[email protected]> | 2020-07-09 06:02:44 +0200 |
| commit | d8be08805bc03d53b0dd6953792fba543a4f3890 (patch) | |
| tree | 1236ca71b86c47aa4c135881018078dc6974a6ef /scripts/Kbuild.include | |
| parent | 35d3982e23d3449d93bcc4f1990e929998d69936 (diff) | |
rtc: add dm_rtc_read helper and ->read method
Some users may want to read multiple consecutive 8-bit
registers. Instead of each caller having to implement the loop,
provide a dm_rtc_read() helper. Also, allow a driver to provide a
->read method, which can be more efficient than reading one register
at a time.
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Signed-off-by: Rasmus Villemoes <[email protected]>
Diffstat (limited to 'scripts/Kbuild.include')
0 files changed, 0 insertions, 0 deletions
