mraa.c: we now remove trailing CR/LF from IIO dev names
authorAlex Tereschenko <alext.mkrs@gmail.com>
Sat, 10 Oct 2015 16:35:22 +0000 (18:35 +0200)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 15 Dec 2015 10:42:06 +0000 (10:42 +0000)
commite5f28ab04c8948e655c512e68eadb4b877543136
treeffc4a772df7e0336783d44bbe74ca885777adede
parent325ac461d6066b608704ce2db4fe1ea4a18b035f
mraa.c: we now remove trailing CR/LF from IIO dev names

E.g. on Edison they have LFs and that may cause problems
with downstream consumers of this data.

Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/mraa.c