1. 15 9月, 2013 4 次提交
  2. 20 8月, 2013 2 次提交
  3. 04 8月, 2013 8 次提交
  4. 23 5月, 2013 1 次提交
  5. 18 3月, 2013 5 次提交
  6. 28 1月, 2013 1 次提交
  7. 06 1月, 2013 2 次提交
  8. 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
  9. 27 12月, 2012 1 次提交
  10. 17 11月, 2012 1 次提交
  11. 10 11月, 2012 1 次提交
  12. 08 9月, 2012 2 次提交
  13. 07 9月, 2012 1 次提交
  14. 17 8月, 2012 2 次提交
  15. 16 7月, 2012 1 次提交
    • P
      iio: fix pointer cast warning · 79587623
      Peter Meerwald 提交于
      fix compile warning reported by Fengguang Wu:
      
      drivers/iio/light/adjd_s311.c: In function 'adjd_s311_trigger_handler':
      drivers/iio/light/adjd_s311.c:188:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      drivers/iio/light/adjd_s311.c:188:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      
         185              }
         186
         187              if (indio_dev->scan_timestamp)
       > 188                      *(s64 *)((phys_addr_t)data->buffer + ALIGN(len, sizeof(s64)))
         189                              = time_ns;
         190              iio_push_to_buffer(buffer, (u8 *)data->buffer, time_ns);
         191
      Signed-off-by: NPeter Meerwald <pmeerw@pmeerw.net>
      Reported-by: NFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      79587623
  16. 13 7月, 2012 1 次提交
    • P
      iio: add adjd_s311 I2C digital color sensor driver · bbdb822c
      Peter Meerwald 提交于
      sensor has 4 channels (10-bit each, R/G/B and clear), sensitivity
      and gain is controlled in the driver by ext_info integration_time
      and CHAN_INFO_HARDWAREGAIN
      
      driver supports triggered buffer and IIO_CHAN_INFO_RAW to get the
      sensor data
      
      v5: address comments by Jonathan Cameron
      * use macro for channel declaration
      * get timestamp right before measurement
      * cleanups
      
      v4: address comments by Lars-Peter Clausen
      * make sure trigger handler is exited with iio_trigger_notify_done()
        and IRQ_HANDLED
      * kfree()/kalloc() -> krealloc()
      
      v3:
      * fix warnings
      
      v2: address comments by Lars-Peter Clausen
      * buffer allocation now in update_scan_mode instead of in trigger
        handler
      * simplify trigger code (assume active_scan_mask is not empty, use
        for_each_set_bit, use iio_push_to_buffer)
      * reorder entry in Makefile and Kconfig
      * fix remove
      Signed-off-by: NPeter Meerwald <pmeerw@pmeerw.net>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      bbdb822c
  17. 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
  18. 05 6月, 2012 1 次提交