summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-11-24 11:20:51 +0900
committerKukjin Kim <kgene.kim@samsung.com>2012-11-24 11:20:51 +0900
commit6fb6f1ba60d0cfdb5964a02672d4696623822351 (patch)
treeb23dd3018542ba21a241937dd987f7f44ffdc9f5 /drivers/pinctrl
parent4a991b410cd7940c48f261e854e8698923e23fd2 (diff)
downloadblackbird-op-linux-6fb6f1ba60d0cfdb5964a02672d4696623822351.tar.gz
blackbird-op-linux-6fb6f1ba60d0cfdb5964a02672d4696623822351.zip
pinctrl: samsung: Do not initialise statics to 0
Static variables are initialised to 0 by GCC. Fixes the following checkpatch error: ERROR: do not initialise statics to 0 or NULL FILE: pinctrl/pinctrl-samsung.c:50: static unsigned int pin_base = 0; Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinctrl-samsung.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-samsung.c b/drivers/pinctrl/pinctrl-samsung.c
index 3b52c17c4fd2..8f31b656c4e9 100644
--- a/drivers/pinctrl/pinctrl-samsung.c
+++ b/drivers/pinctrl/pinctrl-samsung.c
@@ -47,7 +47,7 @@ struct pin_config {
{ "samsung,pin-pud-pdn", PINCFG_TYPE_PUD_PDN },
};
-static unsigned int pin_base = 0;
+static unsigned int pin_base;
static inline struct samsung_pin_bank *gc_to_pin_bank(struct gpio_chip *gc)
{
OpenPOWER on IntegriCloud