Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1225830 > unrolled thread

[PATCH 0/6] pinctrl: Remove unneded semicolons in drivers

Started byJavier Martinez Canillas <javier@osg.samsung.com>
First post2015-09-16 10:40 +0200
Last post2015-09-16 10:40 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/6] pinctrl: Remove unneded semicolons in drivers Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-16 10:40 +0200
    [PATCH 5/6] pinctrl: mediatek: Remove unneded semicolon Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-16 10:40 +0200
      Re: [PATCH 5/6] pinctrl: mediatek: Remove unneded semicolon Hongzhou Yang <hongzhou.yang@mediatek.com> - 2015-09-16 20:50 +0200
    [PATCH 2/6] pinctrl: tz1090-pdc: Remove unneded semicolons Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-16 10:40 +0200

#1225830 — [PATCH 0/6] pinctrl: Remove unneded semicolons in drivers

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2015-09-16 10:40 +0200
Subject[PATCH 0/6] pinctrl: Remove unneded semicolons in drivers
Message-ID<q9ggh-7oR-3@gated-at.bofh.it>
Hello Linus,

This series contains trivial patches that removes unneeded
semicolons in pinctrl drivers. These are clearly typo errors
and are just creating null statements.

Best regards,
Javier


Javier Martinez Canillas (6):
  pinctrl: tz1090: Remove unneded semicolons
  pinctrl: tz1090-pdc: Remove unneded semicolons
  pinctrl: mxs: Remove unneded semicolon
  pinctrl: sunxi: Remove unneeded semicolon
  pinctrl: mediatek: Remove unneded semicolon
  pinctrl: samsung: Remove unneded semicolon

 drivers/pinctrl/freescale/pinctrl-mxs.c       | 2 +-
 drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 2 +-
 drivers/pinctrl/pinctrl-tz1090-pdc.c          | 4 ++--
 drivers/pinctrl/pinctrl-tz1090.c              | 4 ++--
 drivers/pinctrl/samsung/pinctrl-exynos5440.c  | 2 +-
 drivers/pinctrl/sunxi/pinctrl-sunxi.c         | 2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)

-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1225833 — [PATCH 5/6] pinctrl: mediatek: Remove unneded semicolon

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2015-09-16 10:40 +0200
Subject[PATCH 5/6] pinctrl: mediatek: Remove unneded semicolon
Message-ID<q9gpY-7A2-23@gated-at.bofh.it>
In reply to#1225830
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;
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1226391 — Re: [PATCH 5/6] pinctrl: mediatek: Remove unneded semicolon

FromHongzhou Yang <hongzhou.yang@mediatek.com>
Date2015-09-16 20:50 +0200
SubjectRe: [PATCH 5/6] pinctrl: mediatek: Remove unneded semicolon
Message-ID<q9pWi-4mk-19@gated-at.bofh.it>
In reply to#1225833
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1225834 — [PATCH 2/6] pinctrl: tz1090-pdc: Remove unneded semicolons

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2015-09-16 10:40 +0200
Subject[PATCH 2/6] pinctrl: tz1090-pdc: Remove unneded semicolons
Message-ID<q9gpY-7A2-21@gated-at.bofh.it>
In reply to#1225830
They aren't needed and are just creating null statements so remove it.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---

 drivers/pinctrl/pinctrl-tz1090-pdc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-tz1090-pdc.c b/drivers/pinctrl/pinctrl-tz1090-pdc.c
index c349911708ef..b89ad3c0c731 100644
--- a/drivers/pinctrl/pinctrl-tz1090-pdc.c
+++ b/drivers/pinctrl/pinctrl-tz1090-pdc.c
@@ -668,7 +668,7 @@ static int tz1090_pdc_pinconf_reg(struct pinctrl_dev *pctldev,
 		break;
 	default:
 		return -ENOTSUPP;
-	};
+	}
 
 	/* Only input bias parameters supported */
 	*reg = REG_GPIO_CONTROL2;
@@ -801,7 +801,7 @@ static int tz1090_pdc_pinconf_group_reg(struct pinctrl_dev *pctldev,
 		break;
 	default:
 		return -ENOTSUPP;
-	};
+	}
 
 	/* Calculate field information */
 	*mask = (BIT(*width) - 1) << *shift;
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web