diff mbox

pinctrl: pinctrl-sx150x.c: Fix typo in a previous patch

Message ID 1480888868-23331-1-git-send-email-andrew@lunn.ch
State New
Headers show

Commit Message

Andrew Lunn Dec. 4, 2016, 10:01 p.m. UTC
Fix typo of chip-irq to chip->irq.

Fixes: abbb5af1166f ("pinctrl: sx150x: use new nested IRQ infrastructure")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
y# Please enter the commit message for your changes. Lines starting
---
 drivers/pinctrl/pinctrl-sx150x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij Dec. 7, 2016, 3:04 p.m. UTC | #1
On Sun, Dec 4, 2016 at 11:01 PM, Andrew Lunn <andrew@lunn.ch> wrote:

> Fix typo of chip-irq to chip->irq.
>
> Fixes: abbb5af1166f ("pinctrl: sx150x: use new nested IRQ infrastructure")
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>

Fixed it up in-tree because I had to rebase it anyways since this was
not the only thing I screwed up.

> y# Please enter the commit message for your changes. Lines starting

Hehe? :)

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pinctrl/pinctrl-sx150x.c b/drivers/pinctrl/pinctrl-sx150x.c
index b81275dbb4a8..29fb7403d24e 100644
--- a/drivers/pinctrl/pinctrl-sx150x.c
+++ b/drivers/pinctrl/pinctrl-sx150x.c
@@ -1239,7 +1239,7 @@  static int sx150x_probe(struct i2c_client *client,
 
 		gpiochip_set_nested_irqchip(&pctl->gpio,
 					    &pctl->irq_chip,
-					    client-irq);
+					    client->irq);
 	}
 
 	/* Pinctrl_desc */