commit | 916e89e4b7272e1eda9eba057cf25197129bcf79 | [log] [tgz] |
---|---|---|
author | Hartmut Knaack <knaack.h@gmx.de> | Sun May 31 14:40:18 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Mon Jun 01 08:34:48 2015 +0100 |
tree | 799a0612f3386aa80d8563bf1aedd556c268eeef | |
parent | 0e799878175aa7d08f5882b6a391de4724c52e9e [diff] |
tools:iio:iio_event_monitor: refactor events output Refactor the code in print_event() to reduce code duplication and better reflect that the type is output unconditionally, as well as cascade the dependency of the diff-channel. Saves a few lines of code, as well. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>