/* Only not moved into the core for the hardware ring buffer cases that are more sophisticated.  */
static int max1363_ring_postenable(struct iio_dev *indio_dev)
/* Only not moved into the core for the hardware ring buffer cases that are more sophisticated.  */
static int max1363_ring_postenable(struct iio_dev *indio_dev)
{
	if (indio_dev->trig == NULL)
		return 0;
	return iio_trigger_attach_poll_func(indio_dev->trig,
					    indio_dev->pollfunc);
}