commit | d29f73db791098179af90e6a5b1df41f941b32cd | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@cam.ac.uk> | Fri Aug 12 17:08:38 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Aug 23 13:31:06 2011 -0700 |
tree | f3ec1496873807ae7f2a6bc7158a782798fe857a | |
parent | 214320b6ec0de0f98b5f929a1738363872b0178d [diff] |
staging:iio:triggers introduce iio_trigger_ops to take const bits out of iio_trig_structure. Right now this results in increased code, but I still think it is worth doing to avoid replication across instances of drivers etc and move as much stuff as possible to constant. Ops structure is optional for the occasional driver that uses none of it (currently only the ad7793). Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>