1
0
Fork 0

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>
hifive-unleashed-5.1
Henriette Hofmeier 2018-06-14 17:20:41 +02:00 committed by Greg Kroah-Hartman
parent b2dd10ce8b
commit 7b4bcbcdb2
1 changed files with 2 additions and 4 deletions

View File

@ -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;