diff options
author | Alexandre Belloni <[email protected]> | 2020-10-09 17:31:00 +0200 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2020-10-15 12:09:35 +0200 |
commit | de0ad60e79e1ce563223b3fddf03fc19f606c6d4 (patch) | |
tree | e5ce8990ee1ae0af06ba3d53b275a1a44eb7f6be /tools/perf/util/trace-event-scripting.c | |
parent | c1efae1432018063e7e723c4267edd3f13ce0f48 (diff) |
rtc: rv3028: factorize EERD bit handling
Both rv3028_eeprom_write and rv3028_eeprom_read enable EERD before sending
commands to the EEPROM and restore it afterwards. Factorize this code.
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions