aboutsummaryrefslogtreecommitdiff
path: root/mm/maccess.c
diff options
context:
space:
mode:
authorJoshua Clayton2016-01-04 10:31:21 -0800
committerAlexandre Belloni2016-03-14 17:07:53 +0100
commit809b453b76e1544d245b7285fe570f3f20b8bd89 (patch)
tree7a294551a692f30f44af6a63cc2fa2d7a8e404c7 /mm/maccess.c
parent66c056d6a1f7392b4fe49500ad65fd96e4d94435 (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 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions