]> Git Repo - linux.git/commit
gpiolib: use const parameters when possible
authorAlexandre Courbot <[email protected]>
Fri, 15 Feb 2013 05:46:15 +0000 (14:46 +0900)
committerGrant Likely <[email protected]>
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 <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
drivers/gpio/gpiolib.c
This page took 0.074572 seconds and 4 git commands to generate.