Re: [PATCH 35/35 linux-next] pinctrl: constify of_device_id array

From: Fabian Frederick
Date: Thu Mar 19 2015 - 14:41:30 EST




> On 19 March 2015 at 02:58 Hongzhou Yang <hongzhou.yang@xxxxxxxxxxxx> wrote:
>
>
> On Mon, 2015-03-16 at 20:59 +0100, Fabian Frederick wrote:
> > of_device_id is always used as const.
> > (See driver.of_match_table and open firmware functions)
> >
> > Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
> > ---
> > drivers/pinctrl/bcm/pinctrl-bcm2835.c   Â| 2 +-
> > drivers/pinctrl/mediatek/pinctrl-mt8135.c Â| 2 +-
> > drivers/pinctrl/mediatek/pinctrl-mt8173.c Â| 2 +-
>
>
> For the pinctrl-mt81xx driver,
> Acked-by: Hongzhou Yang <hongzhou.yang@xxxxxxxxxxxx>
>
> By the way, Axel has sent same patch to linux-gpio.
> http://article.gmane.org/gmane.linux.kernel.gpio/6815
>
> Thanks.
> Hongzhou
>
Axel's version is better (it also improves display) but doesn't
include bcm. I'll resend if necessary.

Regards,
Fabian
--
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/