summaryrefslogtreecommitdiff
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 19:26:17 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-23 00:14:58 +0300
commit247d41f1b78c9decd83e262d884fa96c1e4b39bf (patch)
tree7e6ff70dc6e7fcdc97c0ef13b8bfbc39c8f4a483 /drivers/staging/iio
parent3762f8a0f3687d109b22e5a64f4a782e029de59d (diff)
downloadlinux-247d41f1b78c9decd83e262d884fa96c1e4b39bf.tar.xz
staging:trigger: drop assignment of iio_trigger_ops.owner
The equivalent of this is now done via macro magic when the relevant register call is made. The actual structure elements will shortly go away. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r--drivers/staging/iio/trigger/iio-trig-bfin-timer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/iio/trigger/iio-trig-bfin-timer.c b/drivers/staging/iio/trigger/iio-trig-bfin-timer.c
index 4e0b4eedb53d..d80dcf82eba9 100644
--- a/drivers/staging/iio/trigger/iio-trig-bfin-timer.c
+++ b/drivers/staging/iio/trigger/iio-trig-bfin-timer.c
@@ -172,7 +172,6 @@ static int iio_bfin_tmr_get_number(int irq)
}
static const struct iio_trigger_ops iio_bfin_tmr_trigger_ops = {
- .owner = THIS_MODULE,
.set_trigger_state = iio_bfin_tmr_set_state,
};