提交 7b4bcbcd 编写于 作者: H Henriette Hofmeier 提交者: Greg Kroah-Hartman

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: NHenriette Hofmeier <passt@h-hofmeier.de>
Signed-off-by: NFlorian Harbecke <florian.harbecke@fau.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 b2dd10ce
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册