]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
greybus: gpio: use bundle device for error messages
authorGreg Kroah-Hartman <gregkh@google.com>
Wed, 24 Feb 2016 06:51:23 +0000 (22:51 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 25 Feb 2016 01:44:11 +0000 (17:44 -0800)
commit7a6396d9ce81564b09d91586b29fdd02e6814c28
treea14fedb1e0451967ad0a7597f661b78bf575bb70
parent6743a6fd963aba000b128fd0b5c420a8f4b0dcde
greybus: gpio: use bundle device for error messages

Use the bundle device directly in gpio error messages instead of the
gpio device, as they are the same pointer.  This will make future gpio
api changes much easier to handle.

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