iio: iio_generic_buffer: Add --device-num option
authorCrestez Dan Leonard <leonard.crestez@intel.com>
Mon, 23 May 2016 18:39:57 +0000 (21:39 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 29 May 2016 19:39:41 +0000 (20:39 +0100)
commitde397db8ab9e292ed3b5be42d0892a0ec717330d
tree7c6b47e59cb1f02534ab3f24011504c69882ab9a
parent4f20d5927b8e900ff1c3ee590b700ca71cd3f3ca
iio: iio_generic_buffer: Add --device-num option

This makes it possible to distinguish between iio devices with the same
name.

Signed-off-by: Crestez Dan Leonard <leonard.crestez@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
tools/iio/iio_generic_buffer.c