summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/pinctrl/spear
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/pinctrl/spear')
-rw-r--r--kernel/drivers/pinctrl/spear/pinctrl-plgpio.c2
-rw-r--r--kernel/drivers/pinctrl/spear/pinctrl-spear.c6
-rw-r--r--kernel/drivers/pinctrl/spear/pinctrl-spear.h2
-rw-r--r--kernel/drivers/pinctrl/spear/pinctrl-spear1310.c4
-rw-r--r--kernel/drivers/pinctrl/spear/pinctrl-spear1340.c4
-rw-r--r--kernel/drivers/pinctrl/spear/pinctrl-spear300.c4
-rw-r--r--kernel/drivers/pinctrl/spear/pinctrl-spear310.c4
-rw-r--r--kernel/drivers/pinctrl/spear/pinctrl-spear320.c4
-rw-r--r--kernel/drivers/pinctrl/spear/pinctrl-spear3xx.c2
-rw-r--r--kernel/drivers/pinctrl/spear/pinctrl-spear3xx.h2
10 files changed, 17 insertions, 17 deletions
diff --git a/kernel/drivers/pinctrl/spear/pinctrl-plgpio.c b/kernel/drivers/pinctrl/spear/pinctrl-plgpio.c
index ae8f29fb5..1f0af250d 100644
--- a/kernel/drivers/pinctrl/spear/pinctrl-plgpio.c
+++ b/kernel/drivers/pinctrl/spear/pinctrl-plgpio.c
@@ -356,7 +356,7 @@ static struct irq_chip plgpio_irqchip = {
.irq_set_type = plgpio_irq_set_type,
};
-static void plgpio_irq_handler(unsigned irq, struct irq_desc *desc)
+static void plgpio_irq_handler(struct irq_desc *desc)
{
struct gpio_chip *gc = irq_desc_get_handler_data(desc);
struct plgpio *plgpio = container_of(gc, struct plgpio, chip);
diff --git a/kernel/drivers/pinctrl/spear/pinctrl-spear.c b/kernel/drivers/pinctrl/spear/pinctrl-spear.c
index abdb05ac4..0afaf79a4 100644
--- a/kernel/drivers/pinctrl/spear/pinctrl-spear.c
+++ b/kernel/drivers/pinctrl/spear/pinctrl-spear.c
@@ -2,7 +2,7 @@
* Driver for the ST Microelectronics SPEAr pinmux
*
* Copyright (C) 2012 ST Microelectronics
- * Viresh Kumar <viresh.linux@gmail.com>
+ * Viresh Kumar <vireshk@kernel.org>
*
* Inspired from:
* - U300 Pinctl drivers
@@ -396,9 +396,9 @@ int spear_pinctrl_probe(struct platform_device *pdev,
spear_pinctrl_desc.npins = machdata->npins;
pmx->pctl = pinctrl_register(&spear_pinctrl_desc, &pdev->dev, pmx);
- if (!pmx->pctl) {
+ if (IS_ERR(pmx->pctl)) {
dev_err(&pdev->dev, "Couldn't register pinctrl driver\n");
- return -ENODEV;
+ return PTR_ERR(pmx->pctl);
}
return 0;
diff --git a/kernel/drivers/pinctrl/spear/pinctrl-spear.h b/kernel/drivers/pinctrl/spear/pinctrl-spear.h
index dc8bf85ec..27c2cc8d8 100644
--- a/kernel/drivers/pinctrl/spear/pinctrl-spear.h
+++ b/kernel/drivers/pinctrl/spear/pinctrl-spear.h
@@ -2,7 +2,7 @@
* Driver header file for the ST Microelectronics SPEAr pinmux
*
* Copyright (C) 2012 ST Microelectronics
- * Viresh Kumar <viresh.linux@gmail.com>
+ * Viresh Kumar <vireshk@kernel.org>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
diff --git a/kernel/drivers/pinctrl/spear/pinctrl-spear1310.c b/kernel/drivers/pinctrl/spear/pinctrl-spear1310.c
index a7bdc537e..92611bb75 100644
--- a/kernel/drivers/pinctrl/spear/pinctrl-spear1310.c
+++ b/kernel/drivers/pinctrl/spear/pinctrl-spear1310.c
@@ -2,7 +2,7 @@
* Driver for the ST Microelectronics SPEAr1310 pinmux
*
* Copyright (C) 2012 ST Microelectronics
- * Viresh Kumar <viresh.linux@gmail.com>
+ * Viresh Kumar <vireshk@kernel.org>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
@@ -2730,7 +2730,7 @@ static void __exit spear1310_pinctrl_exit(void)
}
module_exit(spear1310_pinctrl_exit);
-MODULE_AUTHOR("Viresh Kumar <viresh.linux@gmail.com>");
+MODULE_AUTHOR("Viresh Kumar <vireshk@kernel.org>");
MODULE_DESCRIPTION("ST Microelectronics SPEAr1310 pinctrl driver");
MODULE_LICENSE("GPL v2");
MODULE_DEVICE_TABLE(of, spear1310_pinctrl_of_match);
diff --git a/kernel/drivers/pinctrl/spear/pinctrl-spear1340.c b/kernel/drivers/pinctrl/spear/pinctrl-spear1340.c
index f43ec85a0..f842e9dc4 100644
--- a/kernel/drivers/pinctrl/spear/pinctrl-spear1340.c
+++ b/kernel/drivers/pinctrl/spear/pinctrl-spear1340.c
@@ -2,7 +2,7 @@
* Driver for the ST Microelectronics SPEAr1340 pinmux
*
* Copyright (C) 2012 ST Microelectronics
- * Viresh Kumar <viresh.linux@gmail.com>
+ * Viresh Kumar <vireshk@kernel.org>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
@@ -2046,7 +2046,7 @@ static void __exit spear1340_pinctrl_exit(void)
}
module_exit(spear1340_pinctrl_exit);
-MODULE_AUTHOR("Viresh Kumar <viresh.linux@gmail.com>");
+MODULE_AUTHOR("Viresh Kumar <vireshk@kernel.org>");
MODULE_DESCRIPTION("ST Microelectronics SPEAr1340 pinctrl driver");
MODULE_LICENSE("GPL v2");
MODULE_DEVICE_TABLE(of, spear1340_pinctrl_of_match);
diff --git a/kernel/drivers/pinctrl/spear/pinctrl-spear300.c b/kernel/drivers/pinctrl/spear/pinctrl-spear300.c
index da8990a8e..d998a2ccf 100644
--- a/kernel/drivers/pinctrl/spear/pinctrl-spear300.c
+++ b/kernel/drivers/pinctrl/spear/pinctrl-spear300.c
@@ -2,7 +2,7 @@
* Driver for the ST Microelectronics SPEAr300 pinmux
*
* Copyright (C) 2012 ST Microelectronics
- * Viresh Kumar <viresh.linux@gmail.com>
+ * Viresh Kumar <vireshk@kernel.org>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
@@ -703,7 +703,7 @@ static void __exit spear300_pinctrl_exit(void)
}
module_exit(spear300_pinctrl_exit);
-MODULE_AUTHOR("Viresh Kumar <viresh.linux@gmail.com>");
+MODULE_AUTHOR("Viresh Kumar <vireshk@kernel.org>");
MODULE_DESCRIPTION("ST Microelectronics SPEAr300 pinctrl driver");
MODULE_LICENSE("GPL v2");
MODULE_DEVICE_TABLE(of, spear300_pinctrl_of_match);
diff --git a/kernel/drivers/pinctrl/spear/pinctrl-spear310.c b/kernel/drivers/pinctrl/spear/pinctrl-spear310.c
index 31ede51e8..609b18ace 100644
--- a/kernel/drivers/pinctrl/spear/pinctrl-spear310.c
+++ b/kernel/drivers/pinctrl/spear/pinctrl-spear310.c
@@ -2,7 +2,7 @@
* Driver for the ST Microelectronics SPEAr310 pinmux
*
* Copyright (C) 2012 ST Microelectronics
- * Viresh Kumar <viresh.linux@gmail.com>
+ * Viresh Kumar <vireshk@kernel.org>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
@@ -426,7 +426,7 @@ static void __exit spear310_pinctrl_exit(void)
}
module_exit(spear310_pinctrl_exit);
-MODULE_AUTHOR("Viresh Kumar <viresh.linux@gmail.com>");
+MODULE_AUTHOR("Viresh Kumar <vireshk@kernel.org>");
MODULE_DESCRIPTION("ST Microelectronics SPEAr310 pinctrl driver");
MODULE_LICENSE("GPL v2");
MODULE_DEVICE_TABLE(of, spear310_pinctrl_of_match);
diff --git a/kernel/drivers/pinctrl/spear/pinctrl-spear320.c b/kernel/drivers/pinctrl/spear/pinctrl-spear320.c
index 506e40b64..c07114431 100644
--- a/kernel/drivers/pinctrl/spear/pinctrl-spear320.c
+++ b/kernel/drivers/pinctrl/spear/pinctrl-spear320.c
@@ -2,7 +2,7 @@
* Driver for the ST Microelectronics SPEAr320 pinmux
*
* Copyright (C) 2012 ST Microelectronics
- * Viresh Kumar <viresh.linux@gmail.com>
+ * Viresh Kumar <vireshk@kernel.org>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
@@ -3467,7 +3467,7 @@ static void __exit spear320_pinctrl_exit(void)
}
module_exit(spear320_pinctrl_exit);
-MODULE_AUTHOR("Viresh Kumar <viresh.linux@gmail.com>");
+MODULE_AUTHOR("Viresh Kumar <vireshk@kernel.org>");
MODULE_DESCRIPTION("ST Microelectronics SPEAr320 pinctrl driver");
MODULE_LICENSE("GPL v2");
MODULE_DEVICE_TABLE(of, spear320_pinctrl_of_match);
diff --git a/kernel/drivers/pinctrl/spear/pinctrl-spear3xx.c b/kernel/drivers/pinctrl/spear/pinctrl-spear3xx.c
index 12ee21af7..d3119aafe 100644
--- a/kernel/drivers/pinctrl/spear/pinctrl-spear3xx.c
+++ b/kernel/drivers/pinctrl/spear/pinctrl-spear3xx.c
@@ -2,7 +2,7 @@
* Driver for the ST Microelectronics SPEAr3xx pinmux
*
* Copyright (C) 2012 ST Microelectronics
- * Viresh Kumar <viresh.linux@gmail.com>
+ * Viresh Kumar <vireshk@kernel.org>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
diff --git a/kernel/drivers/pinctrl/spear/pinctrl-spear3xx.h b/kernel/drivers/pinctrl/spear/pinctrl-spear3xx.h
index 7860b3605..ce19dcf8f 100644
--- a/kernel/drivers/pinctrl/spear/pinctrl-spear3xx.h
+++ b/kernel/drivers/pinctrl/spear/pinctrl-spear3xx.h
@@ -2,7 +2,7 @@
* Header file for the ST Microelectronics SPEAr3xx pinmux
*
* Copyright (C) 2012 ST Microelectronics
- * Viresh Kumar <viresh.linux@gmail.com>
+ * Viresh Kumar <vireshk@kernel.org>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any