1. 06 7月, 2013 1 次提交
  2. 13 6月, 2013 8 次提交
  3. 12 6月, 2013 1 次提交
  4. 05 6月, 2013 2 次提交
  5. 23 5月, 2013 3 次提交
  6. 03 4月, 2013 3 次提交
  7. 29 3月, 2013 1 次提交
  8. 26 3月, 2013 1 次提交
    • L
      iio:trigger: Introduce iio_tigger_{set,get}_drvdata · 1e9663c6
      Lars-Peter Clausen 提交于
      Introduce iio_tigger_{set,get}_drvdata which allows to attach driver specific
      data to a trigger. The functions wrap access to the triggers private_data field
      and all current users are updated to use iio_tigger_{set,get}_drvdata instead of
      directly accessing the private_data field. This is the first step towards
      removing the private_data field from the iio_trigger struct.
      
      The following coccinelle script has been used to update the drivers:
      <smpl>
      @@
      struct iio_trigger *trigger;
      expression priv;
      @@
      -trigger->private_data = priv
      +iio_trigger_set_drv_data(trigger, priv)
      
      @@
      struct iio_trigger *trigger;
      @@
      -trigger->private_data
      +iio_trigger_get_drv_data(trigger)
      </smpl>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      1e9663c6
  9. 18 3月, 2013 17 次提交
  10. 16 3月, 2013 2 次提交
  11. 07 2月, 2013 1 次提交