diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2016-06-06 08:48:47 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-07-17 17:41:54 (GMT) |
commit | 9344a81efb885cc0d5b29dd214df66e332aa0129 (patch) | |
tree | cf40b4bccc66144fbcb1d4ee7a86411aa0cf8864 /security/integrity | |
parent | 318aa9c66b337924f96caffab689553e1875aadf (diff) | |
download | linux-9344a81efb885cc0d5b29dd214df66e332aa0129.tar.xz |
eeprom: at24: hide the read/write loop behind a macro
Before splitting the read/write routines into smaller, more
specialized functions, unduplicate some code in advance.
Use a 'for' loop instead of 'do while' when waiting for the previous
write to complete and hide it behind a macro.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'security/integrity')
0 files changed, 0 insertions, 0 deletions