staging:trigger: drop assignment of iio_trigger_ops.owner
authorJonathan Cameron <jic23@kernel.org>
Sun, 23 Jul 2017 16:26:17 +0000 (17:26 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Aug 2017 21:14:58 +0000 (22:14 +0100)
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>
drivers/staging/iio/trigger/iio-trig-bfin-timer.c

index 4e0b4eedb53d52c96ae9f8765235ed5fb033a4d8..d80dcf82eba92c32a98e7e777694aa10090772ab 100644 (file)
@@ -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,
 };