|
@@ -470,7 +470,8 @@ static int iio_dummy_probe(int index)
|
|
|
* buffer, but avoid the output channel being registered by reducing the
|
|
|
* number of channels by 1.
|
|
|
*/
|
|
|
- ret = iio_simple_dummy_configure_buffer(indio_dev, iio_dummy_channels, 5);
|
|
|
+ ret = iio_simple_dummy_configure_buffer(indio_dev,
|
|
|
+ iio_dummy_channels, 5);
|
|
|
if (ret < 0)
|
|
|
goto error_unregister_events;
|
|
|
|