diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2018-03-19 10:17:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-23 16:25:00 +0100 |
commit | f1a640c5dc701f661d4359d86601a845a41858d0 (patch) | |
tree | 2bb84313746cf805149fc6869db57f6b985bdc52 /lib/parser.c | |
parent | 11288b7c70d89b2587cca3dc5dd004df49ff8daf (diff) |
eeprom: at24: provide and use at24_base_client_dev()
Use a helper function for accessing the device struct of the base
i2c client. This routine is named in a way that reflects its purpose
unlike the previously hand-coded dereferencing.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Tested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions