gpiolib: use const parameters when possible
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 15 Feb 2013 05:46:15 +0000 (14:46 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 2 Mar 2013 13:20:19 +0000 (13:20 +0000)
commitdef634338d3ffb32fbe9b0a2d70cc24ef909cd4f
tree14da05000274ad6d6972d6c474d22362fa1b30e0
parentbcabdef12da49878789464ad7239e97d83ea5ef5
gpiolib: use const parameters when possible

Constify descriptor parameter of gpiod_* functions for those that
should obviously not modify it. This includes value or direction get,
cansleep, and IRQ number query.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpiolib.c