diff options
author | Nuno Sá <[email protected]> | 2020-11-21 17:14:57 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2020-12-03 19:32:40 +0000 |
commit | 6d74a3ee1ee1c7b62de656c26d370448ed5885c3 (patch) | |
tree | b388dbe103d259273e8edc82201055e7f6a58358 /scripts/gdb/linux/modules.py | |
parent | 9afaf9a5b80e6f4fd29a9d04476f2f1a0a8fd995 (diff) |
iio: buffer: Return error if no callback is given
Return error in case no callback is provided to
`iio_channel_get_all_cb()`. There's no point in setting up a buffer-cb
if no callback is provided.
Signed-off-by: Nuno Sá <[email protected]>
Reviewed-by: Olivier Moysan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions