gpio: make gpio_{request,free}_array gpio array parameter const
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 25 May 2011 23:20:31 +0000 (16:20 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 27 May 2011 23:56:45 +0000 (17:56 -0600)
commit7c295975a85b049385dfe0d5ee0d4d543619fbdc
tree447683c4ddaf6e4380ad8f5f5dd20d4576f7428e
parent3474cb3cc0140f9cf6ca56983f8180b4b4c5c36a
gpio: make gpio_{request,free}_array gpio array parameter const

gpio_{request,free}_array should not (and do not) modify the passed gpio
array, so make the parameter const.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpiolib.c
include/asm-generic/gpio.h
include/linux/gpio.h