]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: gpio: remove overly defensive argument verification
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 19 Mar 2015 15:51:12 +0000 (16:51 +0100)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 19 Mar 2015 16:29:40 +0000 (17:29 +0100)
commit83d9cddb85a0cc7497012846567d16add52916d4
tree778c71baaa56a0489c405ca6e0ef55bab844d059
parent65f5a5f1614d1a3dab375588f5fd03590c87215b
greybus: gpio: remove overly defensive argument verification

Remove overly defensive argument verification in gpio-chip callbacks. We
should trust gpiolib to get this right (or we would not even get any
callback) just like the other gpio drivers do.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/gpio.c