commit | 035c70aeb64b861aa88a666c61fda8b2ae49aeae | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@kernel.org> | Sun Jul 23 17:25:44 2017 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Tue Aug 22 21:18:32 2017 +0100 |
tree | 3c646e32be0254bf61a83d1ef24c90d23abf86d9 | |
parent | 63b19547cc3d96041d7bc7ab8de6292b0ebaf2c9 [diff] |
iio: triggers: Use macros to avoid boilerplate assignment of owner. This trig_ops.owner assignment occurs in all trigger drivers and can be simply automated using a macro as has been done in many other places in the kernel. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>