1. 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
  2. 21 6月, 2012 1 次提交
    • P
      iio: add vcnl4000 combined ALS and proximity sensor · 62a1efb9
      Peter Meerwald 提交于
      minimal driver, no IR current control and proximity/event
      handling yet
      
      v5:
      * checkpatch warnings
      * increase msleep() to 20 ms when waiting for data ready as
        measurement/conversion can take up to 100 ms, 1 ms is too short
      
      v4 (address comments by Jonathan Cameron)
      * remove SENSORS_ prefix in Kconfig
      * change from IIO_INTENSITY to IIO_LIGHT
      * move from staging
      
      v3 (address comments by Shubhrajyoti Datta)
      * cleanup Kconfig entry
      * call I2C read/write functions directly
      
      v2 (address comments by Lars-Peter Clausen and Jonathan Cameron)
      * unify code for reading PS and AL data into
        parameterized _measure() function
      * limit wait for data to become ready within 20 tries
      * drop IIO_LIGHT channel, add SCALE to IIO_INTENSITY
      * drop extra string arguments used for logging purpose only
      Signed-off-by: NPeter Meerwald <pmeerw@pmeerw.net>
      Acked-by: NJonathan Cameron <jic23@kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      62a1efb9