iio_device_register_eventset
int iio_device_register_eventset(struct iio_dev *indio_dev);
ret = iio_device_register_eventset(indio_dev);