diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2021-02-15 13:40:28 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-03-11 23:47:02 +0300 |
commit | e64506bf69b680975c47dcbca2a33fc672b368b5 (patch) | |
tree | 20f6e29da0dc7fe68917a55e9bb03d67f0a0f9a8 /drivers/iio/industrialio-core.c | |
parent | 8ebaa3ff1e71d428912423f7f4f8001bfb368cc5 (diff) | |
download | linux-e64506bf69b680975c47dcbca2a33fc672b368b5.tar.xz |
iio: core-trigger: make iio_device_register_trigger_consumer() an int return
Oddly enough the noop function is an int-return. This one seems to be void.
This change converts it to int, because we want to change how groups are
registered. With that change this function could error out with -ENOMEM.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20210215104043.91251-10-alexandru.ardelean@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/industrialio-core.c')
0 files changed, 0 insertions, 0 deletions