commit | aeb11a949667f82173c733e55e9f762c56a1fcba | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <bartekgola@gmail.com> | Fri Jun 05 10:27:31 2015 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sun Jun 07 18:05:47 2015 +0200 |
tree | b34319d0e9d089ded4007d59e1adb51d1d7e16ab | |
parent | 2204472497285dd6fd7b686bb49732fda7394492 [diff] |
i2cdump: code rework Split i2cdump_main() into shorter functions. Simplify the code a bit. Make block an array of ints so that we can store negative results of read functions (fixes a bug found by Denys Vlasenko). Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>