commit | f1a640c5dc701f661d4359d86601a845a41858d0 | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <brgl@bgdev.pl> | Mon Mar 19 10:17:14 2018 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 23 16:25:00 2018 +0100 |
tree | 2bb84313746cf805149fc6869db57f6b985bdc52 | |
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>