diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-05-26 17:42:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 12:12:41 -0400 |
commit | 7839ec78214ecf477cc9e2862233b8d9fcf4ec58 (patch) | |
tree | 2adf5796b9eb1cbae7196f11c0751add4ede9413 /include/asm-generic | |
parent | 7cfe1395b28c472e569db6595a27bfefb161a7bc (diff) |
gpiolib: document that names can contain printk format specifiers
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/gpio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index bc0c14da7162..fb1ecf8baa90 100644 --- a/include/asm-generic/gpio.h +++ b/include/asm-generic/gpio.h | |||
@@ -60,7 +60,9 @@ struct module; | |||
60 | * @names: if set, must be an array of strings to use as alternative | 60 | * @names: if set, must be an array of strings to use as alternative |
61 | * names for the GPIOs in this chip. Any entry in the array | 61 | * names for the GPIOs in this chip. Any entry in the array |
62 | * may be NULL if there is no alias for the GPIO, however the | 62 | * may be NULL if there is no alias for the GPIO, however the |
63 | * array must be @ngpio entries long. | 63 | * array must be @ngpio entries long. A name can include a single printk |
64 | * format specifier for an unsigned int. It is substituted by the actual | ||
65 | * number of the gpio. | ||
64 | * | 66 | * |
65 | * A gpio_chip can help platforms abstract various sources of GPIOs so | 67 | * A gpio_chip can help platforms abstract various sources of GPIOs so |
66 | * they can all be accessed through a common programing interface. | 68 | * they can all be accessed through a common programing interface. |