commit | 3b8e73ec822cecf62e68e12c5320cf329d69923a | [log] [tgz] |
---|---|---|
author | Crestez Dan Leonard <leonard.crestez@intel.com> | Mon May 23 21:40:01 2016 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Mon Jun 27 20:59:08 2016 +0100 |
tree | ca33f5e3d048d3152cfeabab3d7336c8388a03d1 | |
parent | deb4d1fdcb5af079896f7ca5e8067e69485f6bdd [diff] |
iio: Refuse to register triggers with duplicate names The trigger name is documented as unique but drivers are currently allowed to register triggers with duplicate names. This should be considered a bug since it makes the 'current_trigger' interface unusable. Signed-off-by: Crestez Dan Leonard <leonard.crestez@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>