staging:iio:triggers:interrupt trigger - one per platform device.
authorJonathan Cameron <jic23@kernel.org>
Sun, 2 Jun 2013 19:00:00 +0000 (20:00 +0100)
committerJonathan Cameron <jic23@kernel.org>
Tue, 4 Jun 2013 17:32:53 +0000 (18:32 +0100)
commit3c1e02dbb3843f5405279aeb0aaa515da2782f85
treeeb589d24f9fdab6fd2997b323b79a18ac82a6121
parentd4fd73bf25c3aafc891ef4443fc744d427ec1df0
staging:iio:triggers:interrupt trigger - one per platform device.

Switching from one platform device registering a lot of triggers
to one for each trigger simplifies the code somewhat. It would be
relatively unusual to have more than a couple of such devices
registered so this change will not result in much additional overhead.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/staging/iio/trigger/iio-trig-interrupt.c