projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2dd10c
)
ds2490.c: Move struct open braces to previous line
author
Henriette Hofmeier
<
[email protected]
>
Thu, 14 Jun 2018 15:20:41 +0000
(17:20 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 7 Jul 2018 15:27:13 +0000
(17:27 +0200)
Move open braces of two structs to the declaration line,
as criticized by checkpatch.
Signed-off-by: Henriette Hofmeier <
[email protected]
>
Signed-off-by: Florian Harbecke <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/w1/masters/ds2490.c
patch
|
blob
|
history
diff --git
a/drivers/w1/masters/ds2490.c
b/drivers/w1/masters/ds2490.c
index 1e4b243072f0fee275a0dc7658904787a24351ba..0f4ecfcdb5497afa21656fa54db814108c2694e7 100644
(file)
--- a/
drivers/w1/masters/ds2490.c
+++ b/
drivers/w1/masters/ds2490.c
@@
-134,8
+134,7
@@
#define EP_DATA_OUT 2
#define EP_DATA_IN 3
-struct ds_device
-{
+struct ds_device {
struct list_head ds_entry;
struct usb_device *udev;
@@
-158,8
+157,7
@@
struct ds_device
struct w1_bus_master master;
};
-struct ds_status
-{
+struct ds_status {
u8 enable;
u8 speed;
u8 pullup_dur;