]> git.karo-electronics.de Git - linux-beck.git/commit
staging:iio:hmc5843: Added regmap support
authorJosef Gajdusek <atx@atalax.net>
Tue, 22 Jul 2014 15:00:00 +0000 (16:00 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 23 Jul 2014 20:48:10 +0000 (21:48 +0100)
commitf326a525061150bf1ca85517eda422bde2245f26
treef7095c0434513bf923bec8f4a5abd90ebee64d99
parentf4e2f94d8c1057154728eff974c8ce8688e1ea2d
staging:iio:hmc5843: Added regmap support

This patch changes hmc5843.c to use regmap. This provides transparent caching
to the code as well as abstraction necessary to add support for SPI-based
hmc5983.

Signed-off-by: Josef Gajdusek <atx@atx.name>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/magnetometer/Kconfig
drivers/staging/iio/magnetometer/hmc5843.c