Repository navigation
Commit a2f2835
iio: adc: at91-sama5d2_adc: use devm_iio_triggered_buffer_setup_ext()
This change switches to the new devm_iio_triggered_buffer_setup_ext()
function and removes the iio_buffer_set_attrs() call, for assigning the
HW FIFO attributes to the buffer.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20200929125949.69934-7-alexandru.ardelean@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>1 parent 1864c82 commit a2f2835
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1673 | 1673 | | |
1674 | 1674 | | |
1675 | 1675 | | |
| 1676 | + | |
1676 | 1677 | | |
1677 | 1678 | | |
1678 | | - | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
1679 | 1685 | | |
1680 | | - | |
| 1686 | + | |
1681 | 1687 | | |
1682 | 1688 | | |
1683 | 1689 | | |
| |||
1686 | 1692 | | |
1687 | 1693 | | |
1688 | 1694 | | |
1689 | | - | |
1690 | | - | |
1691 | 1695 | | |
1692 | 1696 | | |
1693 | 1697 | | |
| |||
0 commit comments