staging:iio:hmc5843: Split hmc5843.c to multiple files
authorJosef Gajdusek <atx@atalax.net>
Tue, 22 Jul 2014 15:01:00 +0000 (16:01 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 23 Jul 2014 20:48:13 +0000 (21:48 +0100)
commitfc35a91b2e348d7aa2de177812e2e78c5276b338
treed75b0065df0cc1c3e39abca4d7f70a5df7223496
parentf326a525061150bf1ca85517eda422bde2245f26
staging:iio:hmc5843: Split hmc5843.c to multiple files

This patch splits hmc5843.c to multiple files - the interface-agnostic
hmc5843_core.c, i2c specific hmc5843_i2c.c and header file hmc5843.h. This is
another step to add support of SPI-enabled 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/Makefile
drivers/staging/iio/magnetometer/hmc5843.c [deleted file]
drivers/staging/iio/magnetometer/hmc5843.h [new file with mode: 0644]
drivers/staging/iio/magnetometer/hmc5843_core.c [new file with mode: 0644]
drivers/staging/iio/magnetometer/hmc5843_i2c.c [new file with mode: 0644]