]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7b6bebe56f700a2a9250575c5069f5e0f850e01
treed75b0065df0cc1c3e39abca4d7f70a5df7223496
parentaa472e607d961f40496afdabd14fd488d3c58261
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]