summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/vtbl.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2013-10-20 19:02:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-10-20 22:36:21 +0100
commit61bdda69222c09efd8943d240cd2a8e0bb659d82 (patch)
tree9441f5e30d362e800f0aa88681ceef0050421fca /drivers/mtd/ubi/vtbl.c
parenteb03610a9ceb4ebbe70c4a68a5bf9fb509a233c3 (diff)
iio:adc:max1363 support SMBus for 8-bit devices
The driver currently supports only I2C access. But supported devices with an accuracy of 8-bit are compatible with the SMBus byte access routines. This patch wraps the send and receive routines depending on the chip accuracy and fonctionnalities of its adapter. For instance, this allows us to use a MAX11603 on a ICH7 controller. This patch also simplifies the max1363_write_basic_config() routine to use the struct max1363_state fields directly. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/mtd/ubi/vtbl.c')
0 files changed, 0 insertions, 0 deletions