gpio/pl061: remove old comment
authorBaruch Siach <baruch@tkos.co.il>
Thu, 22 Nov 2012 09:46:14 +0000 (11:46 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 30 Nov 2012 11:12:07 +0000 (11:12 +0000)
Since 3ab524754 (gpio: pl061: convert to use generic irq chip) we only have one
spinlock in struct pl061_gpio.

Cc: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-pl061.c

index 31d9c9e79ea924b474b52ceda3d69f34a0414162..c1720de18a4fc4413f09f08c56a1af75ab66f934 100644 (file)
@@ -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;