staging:iio:trigger sysfs userspace trigger rework.
commit1f785681a87068f123d3e23da13b2c55ab4f93ac
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 18 May 2011 13:42:11 +0000 (18 14:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 23:15:00 +0000 (19 16:15 -0700)
tree885195dc260626faa37bd1fa8b766fb736b24c1c
parent586d15255dd529be94253b2d4bbb9f40ef680c1a
staging:iio:trigger sysfs userspace trigger rework.

Awaiting comments on using the nested_irq_trick so that may change.
Moves away from platform device to sysfs controlled creation and
removal of these triggers.

Fix double free of name on trigger allocation failure thanks
to Michael Hennerich.

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