1. 10 4月, 2022 1 次提交
  2. 18 2月, 2022 1 次提交
  3. 30 1月, 2022 1 次提交
  4. 21 12月, 2021 1 次提交
  5. 19 10月, 2021 2 次提交
  6. 08 8月, 2021 2 次提交
  7. 16 6月, 2021 1 次提交
  8. 14 6月, 2021 6 次提交
  9. 10 6月, 2021 7 次提交
  10. 04 6月, 2021 1 次提交
  11. 17 5月, 2021 2 次提交
  12. 26 3月, 2021 1 次提交
  13. 12 3月, 2021 1 次提交
  14. 04 12月, 2020 6 次提交
  15. 21 11月, 2020 1 次提交
  16. 22 8月, 2020 1 次提交
  17. 21 6月, 2020 1 次提交
    • L
      iio: Move attach/detach of the poll func to the core · f11d59d8
      Lars-Peter Clausen 提交于
      All devices using a triggered buffer need to attach and detach the trigger
      to the device in order to properly work. Instead of doing this in each and
      every driver by hand move this into the core.
      
      At this point in time, all drivers should have been resolved to
      attach/detach the poll-function in the same order.
      
      This patch removes all explicit calls of iio_triggered_buffer_postenable()
      & iio_triggered_buffer_predisable() in all drivers, since the core handles
      now the pollfunc attach/detach.
      
      The more peculiar change is for the 'at91-sama5d2_adc' driver, since it's
      not immediately obvious that removing the hooks doesn't break anything.
      Eugen was able to test on at91-sama5d2-adc driver, sama5d2-xplained board.
      All seems to be fine.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NAlexandru Ardelean <alexandru.ardelean@analog.com>
      Tested-by: Eugen Hristev <eugen.hristev@microchip.com> #for at91-sama5d2-adc
      Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
      f11d59d8
  18. 14 6月, 2020 1 次提交
    • A
      iio: remove explicit IIO device parent assignment · d3be8324
      Alexandru Ardelean 提交于
      This patch applies the semantic patch:
      @@
      expression I, P, SP;
      @@
         I = devm_iio_device_alloc(P, SP);
         ...
      -  I->dev.parent = P;
      
      It updates 302 files and does 307 deletions.
      This semantic patch also removes some comments like
      '/* Establish that the iio_dev is a child of the i2c device */'
      
      But this is is only done in case where the block is left empty.
      
      The patch does not seem to cover all cases. It looks like in some cases a
      different variable is used in some cases to assign the parent, but it
      points to the same reference.
      In other cases, the block covered by ... may be just too big to be covered
      by the semantic patch.
      
      However, this looks pretty good as well, as it does cover a big bulk of the
      drivers that should remove the parent assignment.
      Signed-off-by: NAlexandru Ardelean <alexandru.ardelean@analog.com>
      Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
      d3be8324
  19. 08 9月, 2019 1 次提交
  20. 05 6月, 2019 1 次提交
  21. 22 4月, 2019 1 次提交