Joshua Clayton 809b453b76 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>
2016-03-14 17:07:53 +01:00
..
2016-02-04 23:44:15 +01:00
2016-01-11 20:20:01 +01:00
2015-09-05 19:37:18 +02:00
2015-11-10 10:01:21 -08:00
2015-11-10 10:01:21 -08:00
2015-09-05 13:19:06 +02:00
2015-08-05 20:03:56 +08:00
2016-02-04 23:44:16 +01:00
2013-04-19 13:51:25 +02:00
2014-09-19 12:39:19 +02:00
2015-09-05 19:37:19 +02:00