diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-21 19:45:12 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-21 20:42:37 -0700 |
commit | affd4a9fa0c4f84758b2d2cdf801256f2c566bbc (patch) | |
tree | 5b45afbf5cc9dd87a41e5b67d5c8ab1015749f83 /drivers/rtc/m41t60.c | |
parent | 2460d18c3383b7b024566dd60bf6a725ae37a661 (diff) |
rockchip: Tidy up the register-access macros
These work reasonable well, but there are a few errors:
- Brackets should be used to avoid unexpected side-effects
- When setting bits, the corresponding upper 16 bits should be set also
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/rtc/m41t60.c')
0 files changed, 0 insertions, 0 deletions