diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2016-03-22 14:30:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-03-22 16:47:28 -0400 |
commit | 0ec306324423444d3ee0222708ef9de7f5586b93 (patch) | |
tree | 3d6ad3817d35074b12b8d92162437e03f6ce2372 /drivers/staging/greybus/vibrator.c | |
parent | 418f3dab841f85e24beb6e30858cafce5cf1f87c (diff) | |
download | linux-stable-0ec306324423444d3ee0222708ef9de7f5586b93.tar.gz linux-stable-0ec306324423444d3ee0222708ef9de7f5586b93.tar.bz2 linux-stable-0ec306324423444d3ee0222708ef9de7f5586b93.zip |
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>
Diffstat (limited to 'drivers/staging/greybus/vibrator.c')
-rw-r--r-- | drivers/staging/greybus/vibrator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/vibrator.c b/drivers/staging/greybus/vibrator.c index 8c0df99b9f8d..5afcb2784a32 100644 --- a/drivers/staging/greybus/vibrator.c +++ b/drivers/staging/greybus/vibrator.c @@ -114,7 +114,7 @@ static int gb_vibrator_probe(struct gb_bundle *bundle, retval = PTR_ERR(connection); goto err_free_vib; } - connection->private = vib; + gb_connection_set_data(connection, vib); vib->connection = connection; |