From: Baruch Siach Date: Thu, 22 Nov 2012 09:46:14 +0000 (+0200) Subject: gpio/pl061: remove old comment X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=835c192f3612639702d716024c1a5b66445dd860;p=~shefty%2Frdma-dev.git gpio/pl061: remove old comment Since 3ab524754 (gpio: pl061: convert to use generic irq chip) we only have one spinlock in struct pl061_gpio. Cc: Rob Herring Signed-off-by: Baruch Siach Acked-by: Linus Walleij Signed-off-by: Grant Likely --- diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c index 31d9c9e79ea..c1720de18a4 100644 --- a/drivers/gpio/gpio-pl061.c +++ b/drivers/gpio/gpio-pl061.c @@ -48,12 +48,7 @@ struct pl061_context_save_regs { #endif struct pl061_gpio { - /* Each of the two spinlocks protects a different set of hardware - * regiters and data structurs. This decouples the code of the IRQ from - * the GPIO code. This also makes the case of a GPIO routine call from - * the IRQ code simpler. - */ - spinlock_t lock; /* GPIO registers */ + spinlock_t lock; void __iomem *base; int irq_base;