|
@@ -1094,7 +1094,6 @@ static const struct iio_info bmc150_accel_info = {
|
|
.write_event_value = bmc150_accel_write_event,
|
|
.write_event_value = bmc150_accel_write_event,
|
|
.write_event_config = bmc150_accel_write_event_config,
|
|
.write_event_config = bmc150_accel_write_event_config,
|
|
.read_event_config = bmc150_accel_read_event_config,
|
|
.read_event_config = bmc150_accel_read_event_config,
|
|
- .driver_module = THIS_MODULE,
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static const struct iio_info bmc150_accel_info_fifo = {
|
|
static const struct iio_info bmc150_accel_info_fifo = {
|
|
@@ -1108,7 +1107,6 @@ static const struct iio_info bmc150_accel_info_fifo = {
|
|
.validate_trigger = bmc150_accel_validate_trigger,
|
|
.validate_trigger = bmc150_accel_validate_trigger,
|
|
.hwfifo_set_watermark = bmc150_accel_set_watermark,
|
|
.hwfifo_set_watermark = bmc150_accel_set_watermark,
|
|
.hwfifo_flush_to_buffer = bmc150_accel_fifo_flush,
|
|
.hwfifo_flush_to_buffer = bmc150_accel_fifo_flush,
|
|
- .driver_module = THIS_MODULE,
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static const unsigned long bmc150_accel_scan_masks[] = {
|
|
static const unsigned long bmc150_accel_scan_masks[] = {
|
|
@@ -1200,7 +1198,6 @@ static int bmc150_accel_trigger_set_state(struct iio_trigger *trig,
|
|
static const struct iio_trigger_ops bmc150_accel_trigger_ops = {
|
|
static const struct iio_trigger_ops bmc150_accel_trigger_ops = {
|
|
.set_trigger_state = bmc150_accel_trigger_set_state,
|
|
.set_trigger_state = bmc150_accel_trigger_set_state,
|
|
.try_reenable = bmc150_accel_trig_try_reen,
|
|
.try_reenable = bmc150_accel_trig_try_reen,
|
|
- .owner = THIS_MODULE,
|
|
|
|
};
|
|
};
|
|
|
|
|
|
static int bmc150_accel_handle_roc_event(struct iio_dev *indio_dev)
|
|
static int bmc150_accel_handle_roc_event(struct iio_dev *indio_dev)
|