Commit 2c5b7943 authored by Srishti Sharma's avatar Srishti Sharma Committed by Greg Kroah-Hartman

Staging: greybus: vibrator.c: Fixed alignment to match open parenthesis.

Fixed alignment so that it matched open parenthesis
Signed-off-by: default avatarSrishti Sharma <srishtishar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent afd37dfa
...@@ -34,7 +34,7 @@ static int turn_off(struct gb_vibrator_device *vib) ...@@ -34,7 +34,7 @@ static int turn_off(struct gb_vibrator_device *vib)
int ret; int ret;
ret = gb_operation_sync(vib->connection, GB_VIBRATOR_TYPE_OFF, ret = gb_operation_sync(vib->connection, GB_VIBRATOR_TYPE_OFF,
NULL, 0, NULL, 0); NULL, 0, NULL, 0);
gb_pm_runtime_put_autosuspend(bundle); gb_pm_runtime_put_autosuspend(bundle);
...@@ -55,7 +55,7 @@ static int turn_on(struct gb_vibrator_device *vib, u16 timeout_ms) ...@@ -55,7 +55,7 @@ static int turn_on(struct gb_vibrator_device *vib, u16 timeout_ms)
turn_off(vib); turn_off(vib);
ret = gb_operation_sync(vib->connection, GB_VIBRATOR_TYPE_ON, ret = gb_operation_sync(vib->connection, GB_VIBRATOR_TYPE_ON,
NULL, 0, NULL, 0); NULL, 0, NULL, 0);
if (ret) { if (ret) {
gb_pm_runtime_put_autosuspend(bundle); gb_pm_runtime_put_autosuspend(bundle);
return ret; return ret;
...@@ -116,7 +116,7 @@ static struct class vibrator_class = { ...@@ -116,7 +116,7 @@ static struct class vibrator_class = {
static DEFINE_IDA(minors); static DEFINE_IDA(minors);
static int gb_vibrator_probe(struct gb_bundle *bundle, static int gb_vibrator_probe(struct gb_bundle *bundle,
const struct greybus_bundle_id *id) const struct greybus_bundle_id *id)
{ {
struct greybus_descriptor_cport *cport_desc; struct greybus_descriptor_cport *cport_desc;
struct gb_connection *connection; struct gb_connection *connection;
...@@ -136,7 +136,7 @@ static int gb_vibrator_probe(struct gb_bundle *bundle, ...@@ -136,7 +136,7 @@ static int gb_vibrator_probe(struct gb_bundle *bundle,
return -ENOMEM; return -ENOMEM;
connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id),
NULL); NULL);
if (IS_ERR(connection)) { if (IS_ERR(connection)) {
retval = PTR_ERR(connection); retval = PTR_ERR(connection);
goto err_free_vib; goto err_free_vib;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment