staging: iio: light: isl29018: use regmap for register access
commit057340e3de29cc0664a4f97b17cfffd6b083d647
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 20 Apr 2012 07:27:38 +0000 (20 12:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2012 18:02:14 +0000 (24 11:02 -0700)
treeaea4471aba02ea61928ce2b6529e7f6f548fc7e6
parent610202ddc6951453034475fdcf5c9caf14f050de
staging: iio: light: isl29018: use regmap for register access

Using regmap for accessing register through i2c bus. This will
remove the code for caching registers, read-modify-write logics.
Also it will provide the debugfs feature to dump register
through regmap debugfs.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Grant Grundler <grundler@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/light/Kconfig
drivers/staging/iio/light/isl29018.c