summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2016-06-06 08:48:46 (GMT)
committerWolfram Sang <wsa@the-dreams.de>2016-07-17 17:41:54 (GMT)
commit318aa9c66b337924f96caffab689553e1875aadf (patch)
tree180f0ad46998ed60f45d763d718a1ee49a166649 /ipc
parent2da78ac3ba577e0e4c9f13cbfce51db5a74f7ba3 (diff)
downloadlinux-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