projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ffb4b8
)
greybus: pwm-gb.c: fix up missing { } for else
author
Greg Kroah-Hartman
<greg@kroah.com>
Thu, 20 Nov 2014 01:02:21 +0000
(17:02 -0800)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Thu, 20 Nov 2014 01:02:21 +0000
(17:02 -0800)
This was a compiler warning, which looked correct, but was trying to
tell us something else...
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/pwm-gb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/pwm-gb.c
b/drivers/staging/greybus/pwm-gb.c
index 0b66f8cab05e3a67ee5c9d925406db44f6c53125..c92d8e262b37141a3dac83ea9f7bd193acfc13ab 100644
(file)
--- a/
drivers/staging/greybus/pwm-gb.c
+++ b/
drivers/staging/greybus/pwm-gb.c
@@
-149,9
+149,10
@@
static int gb_pwm_count_operation(struct gb_pwm_chip *pwmc)
ret = gb_operation_status_map(operation->result);
gb_connection_err(connection, "pwm count result %hhu",
operation->result);
- } else
+ } else
{
response = operation->response.payload;
pwmc->pwm_max = response->count;
+ }
out:
gb_operation_destroy(operation);