diff options
| author | Bartosz Golaszewski <[email protected]> | 2018-03-19 10:17:21 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-03-23 16:25:45 +0100 |
| commit | 34d43faf3aa80f72617da5f2d460262c1e0bbf48 (patch) | |
| tree | ed62207be4b50e495cfb00976332389608cf453d /scripts/gdb/linux/utils.py | |
| parent | df3da615e3f020d4b689eb23d33d10f285db2fb6 (diff) | |
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 <[email protected]>
Tested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions