Files
linux/drivers/iio/accel
Hartmut Knaack 5354bc0675 iio:accel:bmc150-accel: fix counting direction
commit 7a1d0d91c9 upstream.

In bmc150_accel_unregister_triggers() triggers should be unregistered in
reverse order of registration. Trigger registration starts with number 0,
counting up. In consequence, trigger number needs to be count down here.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Reviewed-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-08-03 09:29:01 -07:00
..
2015-01-30 20:34:59 +00:00
2015-01-30 20:34:59 +00:00