]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: make names array and its values const
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 26 May 2010 21:42:17 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:41 +0000 (09:12 -0700)
commit668c6fd7b4a3d1f257f406bb1e8bec8bf13af5a9
tree3a66dee35354f8ffe071aa059024d9ae41d3cdaa
parentb5ecc81c1d85800bd56260888f2dbcffff2b7873
gpiolib: make names array and its values const

gpiolib doesn't need to modify the names and I assume most initializers
use string constants that shouldn't be modified anyhow.

[akpm@linux-foundation.org: fix drivers/gpio/cs5535-gpio.c]
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Kevin Wells <kevin.wells@nxp.com>
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>
drivers/gpio/cs5535-gpio.c
drivers/gpio/gpiolib.c
drivers/gpio/pca953x.c
include/asm-generic/gpio.h
include/linux/i2c/pca953x.h