summaryrefslogtreecommitdiff
path: root/drivers/w1/masters
diff options
context:
space:
mode:
authorHenriette Hofmeier <passt@h-hofmeier.de>2018-06-14 18:20:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-07 18:27:13 +0300
commit7b4bcbcdb2a9c16ec8d83f43c04c4dd4db0df032 (patch)
tree70ad51904ccfb048951760a2d4b410748aaf141a /drivers/w1/masters
parentb2dd10ce8b620f6aaafe0874c7eec4b2e275a497 (diff)
downloadlinux-7b4bcbcdb2a9c16ec8d83f43c04c4dd4db0df032.tar.xz
ds2490.c: Move struct open braces to previous line
Move open braces of two structs to the declaration line, as criticized by checkpatch. Signed-off-by: Henriette Hofmeier <passt@h-hofmeier.de> Signed-off-by: Florian Harbecke <florian.harbecke@fau.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/masters')
-rw-r--r--drivers/w1/masters/ds2490.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/w1/masters/ds2490.c b/drivers/w1/masters/ds2490.c
index 1e4b243072f0..0f4ecfcdb549 100644
--- 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;