From: Jonathan Cameron Date: Tue, 10 Apr 2012 20:11:08 +0000 (+0100) Subject: staging:iio:accel:lis3l02dq add symmetry to check for presence of trigger. X-Git-Tag: v3.5-rc1~145^2~229^2~210 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b1f52278f544af608d576e8db2b79ed651a9414;p=pandora-kernel.git staging:iio:accel:lis3l02dq add symmetry to check for presence of trigger. Checking indio_dev->modes is uggly and not symmetric with the conditions on whether triggers are allowed in the first place. Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed