Thread (3 messages) flat view 3 messages, 3 authors, 2012-08-08

[PATCH] pinctrl/nomadik: add ASIC DB8450 pinctrl driver

From: Linus Walleij <hidden>
Date: 2012-08-08 08:43:13
Also in: lkml

On Tue, Aug 7, 2012 at 10:26 PM, Stephen Warren [off-list ref] wrote:
quoted
@@ -1722,6 +1722,8 @@ static int __devinit nmk_pinctrl_probe(struct platform_device *pdev)
      /* Poke in other ASIC variants here */
      if (version == PINCTRL_NMK_DB8500)
              nmk_pinctrl_db8500_init(&npct->soc);
+     if (platid->driver_data == PINCTRL_NMK_DB8540)
+             nmk_pinctrl_db8540_init(&npct->soc);
I'm surprised one of those checks "version" and the other
"platid->driver_data".

Aside from that, this looks fine.
Bah, I'll fix this, then add your ACK.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help