1. 08 12月, 2013 1 次提交
  2. 21 10月, 2013 1 次提交
  3. 12 10月, 2013 1 次提交
  4. 01 10月, 2013 1 次提交
  5. 22 9月, 2013 1 次提交
  6. 17 9月, 2013 1 次提交
  7. 04 8月, 2013 1 次提交
  8. 05 6月, 2013 1 次提交
  9. 18 3月, 2013 1 次提交
  10. 07 2月, 2013 2 次提交
  11. 02 2月, 2013 5 次提交
  12. 04 1月, 2013 1 次提交
    • G
      Drivers: iio: remove __dev* attributes. · fc52692c
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, and __devexit
      from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Jonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fc52692c
  13. 02 1月, 2013 2 次提交
  14. 27 12月, 2012 1 次提交
    • G
      iio: (max1363) Fix probe error path · 678fb42e
      Guenter Roeck 提交于
      Instantiating the driver with no available regulator results in:
      
      [39711.686393] i2c i2c-7: new_device: Instantiated device max1139 at 0x35
      [39711.688687] BUG: unable to handle kernel paging request at fffffffffffffe13
      [39711.688734] IP: [<ffffffff813e835b>] regulator_disable+0x1b/0x80
      [39711.688788] PGD 1c0e067 PUD 1c0f067 PMD 0
      [39711.688835] Oops: 0000 [#1] SMP
      
      Caused by bad probe error path. Fix it.
      
      Driver should also not attempt to free the interrupt in its error path if
      none was allocated. Fix that problem as well.
      
      Finally, testing if the regulator was allocated is not necessary in the
      remove function, since the probe function bails out if this is the case.
      Remove that check.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      678fb42e
  15. 10 11月, 2012 6 次提交
  16. 04 9月, 2012 1 次提交
  17. 28 8月, 2012 1 次提交
    • L
      staging:iio: Add missing __devinit and __devexit annotations · 8e828752
      Lars-Peter Clausen 提交于
      Autogenerated using the following coccinelle semantic patch:
      
      // <smpl>
      @r1@
      identifier driver;
      identifier fn;
      position p;
      type T;
      @@
      T driver = {
       .remove =
      (
       fn@p
      |
       __devexit_p(fn@p)
      )
      };
      
      @r2@
      identifier r1.fn;
      position p != r1.p;
      @@
      fn@p
      
      @r3@
      identifier r1.fn;
      position r1.p;
      @@
      (
       __devexit_p(fn@p)
      |
      -fn@p
      +__devexit_p(fn)
      )
      
      @depends on !r2@
      identifier r1.fn;
      @@
       static
      -int fn
      +int __devexit fn
       (...) { ... }
      
      @r11@
      identifier driver;
      identifier fn;
      position p;
      type T;
      @@
      T driver = {
      	.probe = fn@p
      };
      
      @r12@
      identifier r11.fn;
      position p != r11.p;
      @@
      fn@p
      
      @depends on !r12@
      identifier r11.fn;
      @@
       static
      -int fn
      +int __devinit fn
       (...) { ... }
      // </smpl>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      8e828752
  18. 15 8月, 2012 1 次提交
    • L
      staging:iio: Constify static iio_chan_spec arrays · f4e4b955
      Lars-Peter Clausen 提交于
      The per driver iio_chan_spec arrays are usually shared between multiple device
      instances. So a single device instance may not modify the iio_chan_spec array
      since this would also affect the other device instances. To make this restriction
      explicit mark the per driver iio_chan_spec arrays as const.
      
      Conversion was done automatically using the following coccinelle semantic patch:
      
      // <smpl>
      @disable optional_qualifier@
      identifier channels;
      @@
      static
      +const
      struct iio_chan_spec channels[] = ...;
      // </smpl>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      f4e4b955
  19. 15 5月, 2012 1 次提交
  20. 30 4月, 2012 1 次提交
    • L
      staging:iio: Streamline API function naming · 7cbb7537
      Lars-Peter Clausen 提交于
      Currently we use two different naming schemes in the IIO API, iio_verb_object
      and iio_object_verb. E.g iio_device_register and iio_allocate_device. This
      patches renames instances of the later to the former. The patch also renames allocate to
      alloc as this seems to be the preferred form throughout the kernel.
      
      In particular the following renames are performed by the patch:
      	iio_put_device -> iio_device_put
      	iio_allocate_device -> iio_device_alloc
      	iio_free_device -> iio_device_free
      	iio_get_trigger -> iio_trigger_get
      	iio_put_trigger -> iio_trigger_put
      	iio_allocate_trigger -> iio_trigger_alloc
      	iio_free_trigger -> iio_trigger_free
      
      The conversion was done with the following coccinelle patch with manual fixes to
      comments and documentation.
      
      <smpl>
      @@
      @@
      -iio_put_device
      +iio_device_put
      @@
      @@
      -iio_allocate_device
      +iio_device_alloc
      @@
      @@
      -iio_free_device
      +iio_device_free
      @@
      @@
      -iio_get_trigger
      +iio_trigger_get
      @@
      @@
      -iio_put_trigger
      +iio_trigger_put
      @@
      @@
      -iio_allocate_trigger
      +iio_trigger_alloc
      @@
      @@
      -iio_free_trigger
      +iio_trigger_free
      </smpl>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Acked-by: NJonathan Cameron <jic23@kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7cbb7537
  21. 26 4月, 2012 1 次提交
  22. 19 4月, 2012 1 次提交
  23. 11 4月, 2012 2 次提交
  24. 03 3月, 2012 1 次提交
  25. 25 2月, 2012 1 次提交
  26. 14 2月, 2012 1 次提交
  27. 09 12月, 2011 2 次提交