staging:iio:hmc5843: Constify register tables and struct regmap_config
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 24 Feb 2015 09:41:48 +0000 (10:41 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 25 Feb 2015 11:36:44 +0000 (11:36 +0000)
commit15313309cbfe0ebba7f660677d2625abe27fb077
tree4a13f22c1482e2f3ad71013987ce878f5d894918
parentb457f53a2afa7de3cecdec1772fbd522b98afc49
staging:iio:hmc5843: Constify register tables and struct regmap_config

The regmap_access_table and regmap_config structures may be const
because they are not modified by the driver and regmap_init() accepts
pointer to const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/magnetometer/hmc5843_i2c.c
drivers/staging/iio/magnetometer/hmc5843_spi.c