diff options
author | Joshua Clayton | 2016-01-04 10:31:21 -0800 |
---|---|---|
committer | Alexandre Belloni | 2016-03-14 17:07:53 +0100 |
commit | 809b453b76e1544d245b7285fe570f3f20b8bd89 (patch) | |
tree | 7a294551a692f30f44af6a63cc2fa2d7a8e404c7 /lib | |
parent | 66c056d6a1f7392b4fe49500ad65fd96e4d94435 (diff) |
rtc: pcf2123: clean up writes to the rtc chip
Add new functions pcf2123_write(), and pcf2123_write_reg().
Use named defines for the values being written.
This improves modularity and readability, and reduces lines of code.
Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions