Skip to content

Commit

Permalink
gpio/pl061: remove old comment
Browse files Browse the repository at this point in the history
Since 3ab5247 (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>
  • Loading branch information
Baruch Siach authored and Grant Likely committed Nov 30, 2012
1 parent b53bc28 commit 835c192
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/gpio/gpio-pl061.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 835c192

Please sign in to comment.