greybus: convert drivers to use connection->private set/get
authorGreg Kroah-Hartman <gregkh@google.com>
Tue, 22 Mar 2016 18:30:35 +0000 (14:30 -0400)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 22 Mar 2016 20:47:28 +0000 (16:47 -0400)
commit0ec306324423444d3ee0222708ef9de7f5586b93
tree3d6ad3817d35074b12b8d92162437e03f6ce2372
parent418f3dab841f85e24beb6e30858cafce5cf1f87c
greybus: convert drivers to use connection->private set/get

This converts all drivers to use the gb_connection_get_data() and
gb_connection_set_data() functions to make it a bit more explicit as to
what is going on.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
16 files changed:
drivers/staging/greybus/audio_codec.c
drivers/staging/greybus/camera.c
drivers/staging/greybus/control.c
drivers/staging/greybus/firmware.c
drivers/staging/greybus/gpio.c
drivers/staging/greybus/hid.c
drivers/staging/greybus/i2c.c
drivers/staging/greybus/light.c
drivers/staging/greybus/power_supply.c
drivers/staging/greybus/pwm.c
drivers/staging/greybus/sdio.c
drivers/staging/greybus/spi.c
drivers/staging/greybus/svc.c
drivers/staging/greybus/uart.c
drivers/staging/greybus/usb.c
drivers/staging/greybus/vibrator.c