[PATCH RFC 3/3] iio: Use with iio_trigger_register_with_dev to register trigger

2015-04-16 Thread Robert Dolca
The trigger registered by the driver has the main purpose to be used with this driver so it should be linked to the IIO device. This way the user space applications can find the connection between them. Signed-off-by: Robert Dolca --- drivers/iio/common/st_sensors/st_sensors_trigger.c | 2 +- 1

[PATCH RFC 3/3] iio: Use with iio_trigger_register_with_dev to register trigger

2015-04-16 Thread Robert Dolca
The trigger registered by the driver has the main purpose to be used with this driver so it should be linked to the IIO device. This way the user space applications can find the connection between them. Signed-off-by: Robert Dolca robert.do...@intel.com ---