Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Russell King and committed by
Russell King
73b610af a3927471

+10 -11
+1 -2
arch/arm/include/asm/mach/udc_pxa2xx.h
··· 18 18 /* Boards following the design guidelines in the developer's manual, 19 19 * with on-chip GPIOs not Lubbock's weird hardware, can have a sane 20 20 * VBUS IRQ and omit the methods above. Store the GPIO number 21 - * here; for GPIO 0, also mask in one of the pxa_gpio_mode() bits. 22 - * Note that sometimes the signals go through inverters... 21 + * here. Note that sometimes the signals go through inverters... 23 22 */ 24 23 bool gpio_vbus_inverted; 25 24 u16 gpio_vbus; /* high == vbus present */
+3 -3
drivers/input/keyboard/corgikbd.c
··· 80 80 #define KB_ACTIVATE_DELAY 10 81 81 82 82 /* Helper functions for reading the keyboard matrix 83 - * Note: We should really be using pxa_gpio_mode to alter GPDR but it 84 - * requires a function call per GPIO bit which is excessive 85 - * when we need to access 12 bits at once multiple times. 83 + * Note: We should really be using the generic gpio functions to alter 84 + * GPDR but it requires a function call per GPIO bit which is 85 + * excessive when we need to access 12 bits at once, multiple times. 86 86 * These functions must be called within local_irq_save()/local_irq_restore() 87 87 * or similar. 88 88 */
+3 -3
drivers/input/keyboard/spitzkbd.c
··· 101 101 #define KB_ACTIVATE_DELAY 10 102 102 103 103 /* Helper functions for reading the keyboard matrix 104 - * Note: We should really be using pxa_gpio_mode to alter GPDR but it 105 - * requires a function call per GPIO bit which is excessive 106 - * when we need to access 11 bits at once, multiple times. 104 + * Note: We should really be using the generic gpio functions to alter 105 + * GPDR but it requires a function call per GPIO bit which is 106 + * excessive when we need to access 11 bits at once, multiple times. 107 107 * These functions must be called within local_irq_save()/local_irq_restore() 108 108 * or similar. 109 109 */
+3 -3
drivers/input/keyboard/tosakbd.c
··· 59 59 60 60 61 61 /* Helper functions for reading the keyboard matrix 62 - * Note: We should really be using pxa_gpio_mode to alter GPDR but it 63 - * requires a function call per GPIO bit which is excessive 64 - * when we need to access 12 bits at once, multiple times. 62 + * Note: We should really be using the generic gpio functions to alter 63 + * GPDR but it requires a function call per GPIO bit which is 64 + * excessive when we need to access 12 bits at once, multiple times. 65 65 * These functions must be called within local_irq_save()/local_irq_restore() 66 66 * or similar. 67 67 */