diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2016-06-06 08:48:46 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-07-17 17:41:54 (GMT) |
commit | 318aa9c66b337924f96caffab689553e1875aadf (patch) | |
tree | 180f0ad46998ed60f45d763d718a1ee49a166649 /ipc | |
parent | 2da78ac3ba577e0e4c9f13cbfce51db5a74f7ba3 (diff) | |
download | linux-318aa9c66b337924f96caffab689553e1875aadf.tar.xz |
eeprom: at24: call read/write functions via function pointers
The first step in simplifying the read and write functions is to call
them via function pointers stored in at24_data. When we eventually
split the routines into smaller ones (depending on whether they use
smbus or i2c operations) we'll simply assign them to said pointers
instead of checking the flags at runtime every time we read/write.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions