Re: [PATCH 1/2] pinctrl: dove: Constify struct regmap_config and of_device_id

From: Linus Walleij
Date: Wed Jan 14 2015 - 07:00:00 EST


On Mon, Jan 5, 2015 at 10:03 AM, Krzysztof Kozlowski
<k.kozlowski@xxxxxxxxxxx> wrote:

> 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@xxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/