commit | 4bb5c13cc23c647c1fb6168d08de1fbda8f2357e | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Tue Nov 28 21:51:50 2017 +0100 |
committer | Bartosz Golaszewski <brgl@bgdev.pl> | Mon Jan 01 19:40:46 2018 +0100 |
tree | dca5dee3979ee8fc6da8a5eb6dd71b749389c78f | |
parent | d4297d6795779b0713203787eada5b8d9f0ce065 [diff] |
eeprom: at24: add regmap-based read function Add regmap-based read function and instead of using three different read functions (standard, mac, serial) use just one and factor out the read offset adjustment for mac and serial to at24_adjust_read_offset. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>