From: Hartmut Knaack Date: Sun, 31 May 2015 12:40:18 +0000 (+0200) Subject: tools:iio:iio_event_monitor: refactor events output X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~256^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=916e89e4b7272e1eda9eba057cf25197129bcf79;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed