iio: accel: bmc150: use common definition for regmap conf
authorIrina Tirdea <irina.tirdea@intel.com>
Tue, 29 Mar 2016 12:21:21 +0000 (15:21 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 3 Apr 2016 10:24:52 +0000 (11:24 +0100)
commit486294f184c05cff116160bb731cbb679f047621
treed726bd32492c72e7afd96e53ad90182ec1547c7d
parentfa4c9c93e93f429bb8a8b01c53d54d6bd53a3028
iio: accel: bmc150: use common definition for regmap conf

bmc150_i2c_regmap_conf is defined three times (in bmc150-accel-core.c,
bmc150-accel-i2c.c and and bmc150-accel-spi.c), although the
definition is the same.

Use one common definition for bmc150_i2c_regmap_conf in all
included files.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/bmc150-accel-core.c
drivers/iio/accel/bmc150-accel-i2c.c
drivers/iio/accel/bmc150-accel-spi.c
drivers/iio/accel/bmc150-accel.h