OSDN Git Service

iio: jsa1212: Constify struct regmap_config
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 24 Feb 2015 09:41:49 +0000 (10:41 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 25 Feb 2015 11:37:53 +0000 (11:37 +0000)
commit9820d88332095bc4b5ef67799e149472fcb9aa40
treee1096d3280570c60a613d36d973f2f1f8d977c7f
parent15313309cbfe0ebba7f660677d2625abe27fb077
iio: jsa1212: Constify struct regmap_config

The regmap_config struct may be const because it is 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/iio/light/jsa1212.c