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

From
Fabian Frederick <hidden>
Date
2015-03-19 18:41:26
Also in
linux-gpio, linux-mediatek, lkml
Reply to
Hongzhou Yang, 2015-03-19
On 19 March 2015 at 02:58 Hongzhou Yang [off-list ref] wrote:


On Mon, 2015-03-16 at 20:59 +0100, Fabian Frederick wrote:
quoted
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)

Signed-off-by: Fabian Frederick <redacted>
---
? 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 <redacted>

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
Thread (44 messages) 44 messages, 18 authors, last reply 2015-03-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help