]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: gpio: add error messages to callbacks not propagating errors
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 19 Mar 2015 15:55:23 +0000 (16:55 +0100)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 19 Mar 2015 16:30:38 +0000 (17:30 +0100)
commit792c17e64383340a75579cdfc6b9b6d2b1647b43
tree032894cb00e36751682459b7fa26577c9ab90f79
parent7bfa0781406f9df6cb20ce5134faa19d34cb4e18
greybus: gpio: add error messages to callbacks not propagating errors

Add error messages on failures to deactivate, set and get operation
handlers as any errors would not be detected by the upper layers (either
because the callbacks are declared void or expected to return a boolean
value).

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