aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2020-09-29 15:59:42 +0300
committerJonathan Cameron <[email protected]>2020-11-21 14:53:03 +0000
commit789976accb6a7b93226fcf8441ffc95edff3d371 (patch)
tree24e7179823afb3083fd253a5b23a06e3d26cc395 /scripts/gdb/linux/utils.py
parent5e6dc43e2caa145627d2de2b5a7c65545f3fb639 (diff)
iio: adc: at91-sama5d2_adc: merge buffer & trigger init into a function
This change is mostly cosmetic, but it's also a pre-cursor to the the change for 'iio_buffer_set_attrs()', where the helper gets updated to better support multiple IIO buffers for 1 IIO device. The only functional change is that the error message for the trigger alloc failure is bound to the parent device vs the IIO device object. Also, the new at91_adc_buffer_and_trigger_init() function was moved after the definition of the 'at91_adc_fifo_attributes'. Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions