iio: tools: make generic_buffer look for "-trigger"
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 24 Mar 2016 08:39:14 +0000 (09:39 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 3 Apr 2016 09:27:49 +0000 (10:27 +0100)
commit793d6b5ea80c9bba8de40b720991b436fa5e174d
tree044c625ff287e2935f31329812f0a4827b1d0bd0
parentfb12b6c725a3936bedaa7fac87432f0ad0d01599
iio: tools: make generic_buffer look for "-trigger"

All the ST Sensors use the old "<foo>-trigger" rather than the
standard "<foo>-devN" new standard suffix for triggers. Now much
to do about it since it is ABI, but make the testing tools
recognize it too.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
tools/iio/generic_buffer.c