diff options
author | Bryan Freed <bfreed@chromium.org> | 2011-06-24 13:40:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-28 14:52:25 -0700 |
commit | d9b42c01ae8d17fdf8d910a4255d18ed2ac22f90 (patch) | |
tree | c503b88d15f5dc0afe79306df6f8bfb4633d248b /Documentation/feature-removal-schedule.txt | |
parent | 9e4216fd6a547261c54bede60108347646c95a69 (diff) | |
download | blackbird-op-linux-d9b42c01ae8d17fdf8d910a4255d18ed2ac22f90.tar.gz blackbird-op-linux-d9b42c01ae8d17fdf8d910a4255d18ed2ac22f90.zip |
iio: light sensor: Add SMBUS support to the tsl2563 driver.
This is so we can support it on x86 SMBUS adapters.
Since i2c adapters which do not provide an smbus_xfer interface fall
back to using their I2C master_xfer interface, all the i2c_master_send()
calls in this driver are changed to i2c_smbus_*() calls.
This will fail on an i2c adapter that implements a proper subset of
(SMBUS_BYTE | SMBUS_BYTE_DATA | SMBUS_WORD_DATA), but I do not see that
in any of our adapters today.
This results in a few wrapper functions that provide little additional
functionality, so remove them and call the smbus functions directly from
the general driver code.
Signed-off-by: Bryan Freed <bfreed@chromium.org>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/feature-removal-schedule.txt')
0 files changed, 0 insertions, 0 deletions