Bartosz Golaszewski 34d43faf3a eeprom: at24: simplify the i2c functionality checking
Save one call and make code prettier by checking the i2c functionality
in the beginning of at24_probe(), saving the relevant values and
reusing them later.

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>
2018-03-23 16:25:45 +01:00
..
2017-11-15 18:21:04 -08:00
2014-02-28 14:08:42 -08:00
2017-08-28 16:55:48 +02:00
2018-03-06 19:18:55 -08:00