[ARM] pxa: remove references to pxa_gpio_mode() in comments

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King 2008-09-25 13:35:27 +01:00 committed by Russell King
parent a3927471c6
commit 73b610affe
4 changed files with 10 additions and 11 deletions

View file

@ -18,8 +18,7 @@ struct pxa2xx_udc_mach_info {
/* Boards following the design guidelines in the developer's manual, /* Boards following the design guidelines in the developer's manual,
* with on-chip GPIOs not Lubbock's weird hardware, can have a sane * with on-chip GPIOs not Lubbock's weird hardware, can have a sane
* VBUS IRQ and omit the methods above. Store the GPIO number * VBUS IRQ and omit the methods above. Store the GPIO number
* here; for GPIO 0, also mask in one of the pxa_gpio_mode() bits. * here. Note that sometimes the signals go through inverters...
* Note that sometimes the signals go through inverters...
*/ */
bool gpio_vbus_inverted; bool gpio_vbus_inverted;
u16 gpio_vbus; /* high == vbus present */ u16 gpio_vbus; /* high == vbus present */

View file

@ -80,9 +80,9 @@ struct corgikbd {
#define KB_ACTIVATE_DELAY 10 #define KB_ACTIVATE_DELAY 10
/* Helper functions for reading the keyboard matrix /* Helper functions for reading the keyboard matrix
* Note: We should really be using pxa_gpio_mode to alter GPDR but it * Note: We should really be using the generic gpio functions to alter
* requires a function call per GPIO bit which is excessive * GPDR but it requires a function call per GPIO bit which is
* when we need to access 12 bits at once multiple times. * excessive when we need to access 12 bits at once, multiple times.
* These functions must be called within local_irq_save()/local_irq_restore() * These functions must be called within local_irq_save()/local_irq_restore()
* or similar. * or similar.
*/ */

View file

@ -101,9 +101,9 @@ struct spitzkbd {
#define KB_ACTIVATE_DELAY 10 #define KB_ACTIVATE_DELAY 10
/* Helper functions for reading the keyboard matrix /* Helper functions for reading the keyboard matrix
* Note: We should really be using pxa_gpio_mode to alter GPDR but it * Note: We should really be using the generic gpio functions to alter
* requires a function call per GPIO bit which is excessive * GPDR but it requires a function call per GPIO bit which is
* when we need to access 11 bits at once, multiple times. * excessive when we need to access 11 bits at once, multiple times.
* These functions must be called within local_irq_save()/local_irq_restore() * These functions must be called within local_irq_save()/local_irq_restore()
* or similar. * or similar.
*/ */

View file

@ -59,9 +59,9 @@ struct tosakbd {
/* Helper functions for reading the keyboard matrix /* Helper functions for reading the keyboard matrix
* Note: We should really be using pxa_gpio_mode to alter GPDR but it * Note: We should really be using the generic gpio functions to alter
* requires a function call per GPIO bit which is excessive * GPDR but it requires a function call per GPIO bit which is
* when we need to access 12 bits at once, multiple times. * excessive when we need to access 12 bits at once, multiple times.
* These functions must be called within local_irq_save()/local_irq_restore() * These functions must be called within local_irq_save()/local_irq_restore()
* or similar. * or similar.
*/ */