summaryrefslogtreecommitdiffstats
path: root/drivers/tc
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2018-03-19 10:17:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-23 16:25:45 +0100
commit34d43faf3aa80f72617da5f2d460262c1e0bbf48 (patch)
treeed62207be4b50e495cfb00976332389608cf453d /drivers/tc
parenteeprom: at24: fix a line break (diff)
downloadlinux-34d43faf3aa80f72617da5f2d460262c1e0bbf48.tar.xz
linux-34d43faf3aa80f72617da5f2d460262c1e0bbf48.zip
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>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions