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 <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>
This commit is contained in:
parent
b53bc2819a
commit
835c192f36
1 changed files with 1 additions and 6 deletions
|
@ -48,12 +48,7 @@ struct pl061_context_save_regs {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct pl061_gpio {
|
struct pl061_gpio {
|
||||||
/* Each of the two spinlocks protects a different set of hardware
|
spinlock_t lock;
|
||||||
* 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 */
|
|
||||||
|
|
||||||
void __iomem *base;
|
void __iomem *base;
|
||||||
int irq_base;
|
int irq_base;
|
||||||
|
|
Loading…
Add table
Reference in a new issue