Staging: iio: iio_trigger_find_by_name: Skip trailing newline if available
authorMichael Hennerich <Michael.Hennerich@analog.com>
Mon, 26 Apr 2010 08:49:10 +0000 (10:49 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:46 +0000 (11:35 -0700)
commit7c327857016116eba1595c67c25d0314d1385e85
tree40d26ec5269c6c75ccd95987dbece175536311da
parenta05d7ce36c55bc6496e1085584c9df901b899ab2
Staging: iio: iio_trigger_find_by_name: Skip trailing newline if available

Skip trailing newline if available.

Signed-off-by: Michael Hennerich <Michael.Hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/industrialio-trigger.c