OSDN Git Service

pinctrl: dove: Constify struct regmap_config and of_device_id
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 5 Jan 2015 09:03:09 +0000 (10:03 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 14 Jan 2015 13:21:53 +0000 (14:21 +0100)
commit23259f19d0113fd8b7767f6c9f6296dc66bb69e5
tree63a65c1e9396abededb6bfbb0d38e72cdf0c05b8
parent47cf4b326cb31f55b0773023560bbe51aa82aa14
pinctrl: dove: Constify struct regmap_config and of_device_id

The regmap_config struct may be const because it is not modified by the
driver and regmap_init() accepts pointer to const. Make also
of_device_id array const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mvebu/pinctrl-dove.c