Message ID | 1442392111-8448-6-git-send-email-javier@osg.samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, 2015-09-16 at 10:28 +0200, Javier Martinez Canillas wrote: > It's not needed an is just creating a null statement, so remove it. > > Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> > --- > > drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c > index 7726c6caaf83..652ec125adb3 100644 > --- a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c > +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c > @@ -1436,7 +1436,7 @@ int mtk_pctrl_init(struct platform_device *pdev, > irq_set_chip_and_handler(virq, &mtk_pinctrl_irq_chip, > handle_level_irq); > irq_set_chip_data(virq, pctl); > - }; > + } > > irq_set_chained_handler_and_data(irq, mtk_eint_irq_handler, pctl); > return 0; Acked-by: Hongzhou Yang <hongzhou.yang@mediatek.com> Thanks Hongzhou
On Wed, Sep 16, 2015 at 1:28 AM, Javier Martinez Canillas <javier@osg.samsung.com> wrote: > It's not needed an is just creating a null statement, so remove it. > > Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Patch applied with Hongzhou's ACK. Yours, Linus Walleij
diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c index 7726c6caaf83..652ec125adb3 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c @@ -1436,7 +1436,7 @@ int mtk_pctrl_init(struct platform_device *pdev, irq_set_chip_and_handler(virq, &mtk_pinctrl_irq_chip, handle_level_irq); irq_set_chip_data(virq, pctl); - }; + } irq_set_chained_handler_and_data(irq, mtk_eint_irq_handler, pctl); return 0;
It's not needed an is just creating a null statement, so remove it. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> --- drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)