iio: gyro: bmg160: decouple buffer and triggers
authorVlad Dogaru <vlad.dogaru@intel.com>
Wed, 13 May 2015 13:30:09 +0000 (16:30 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 17 May 2015 09:26:54 +0000 (10:26 +0100)
commit00e0c8e8e865730b34f2e5f46b5d745f74346065
treed6cd0924fe2db659c854100ced1307ec5266db46
parenteb2191017e3063c7269be81e1543ccd157bb1e8b
iio: gyro: bmg160: decouple buffer and triggers

Make it possible to use buffering with an external trigger, such as one
based on sysfs or hrtimer.

Signed-off-by: Vlad Dogaru <vlad.dogaru@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/gyro/bmg160.c