Re: [PATCH 1/2] pinctrl: at91: Remove duplicate const

2013-03-27 Thread Linus Walleij
On Fri, Mar 15, 2013 at 5:37 AM, Sachin Kamat  wrote:

> const declared twice. Fixes the following sparse warning:
> drivers/pinctrl/pinctrl-at91.c:815:21: warning: duplicate const
> drivers/pinctrl/pinctrl-at91.c:849:21: warning: duplicate const
>
> Signed-off-by: Sachin Kamat 

Patch applied, thanks!

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


[PATCH 1/2] pinctrl: at91: Remove duplicate const

2013-03-14 Thread Sachin Kamat
const declared twice. Fixes the following sparse warning:
drivers/pinctrl/pinctrl-at91.c:815:21: warning: duplicate const
drivers/pinctrl/pinctrl-at91.c:849:21: warning: duplicate const

Signed-off-by: Sachin Kamat 
---
 drivers/pinctrl/pinctrl-at91.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index e50fa5f..353c7bf 100644
--- a/drivers/pinctrl/pinctrl-at91.c
+++ b/drivers/pinctrl/pinctrl-at91.c
@@ -812,7 +812,7 @@ static int at91_pinctrl_mux_mask(struct at91_pinctrl *info,
 {
int ret = 0;
int size;
-   const const __be32 *list;
+   const __be32 *list;
 
list = of_get_property(np, "atmel,mux-mask", &size);
if (!list) {
@@ -846,7 +846,7 @@ static int at91_pinctrl_parse_groups(struct device_node *np,
 {
struct at91_pmx_pin *pin;
int size;
-   const const __be32 *list;
+   const __be32 *list;
int i, j;
 
dev_dbg(info->dev, "group(%d): %s\n", index, np->name);
-- 
1.7.4.1

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