2021-05-03 18:11:57

by Wei Ming Chen

[permalink] [raw]
Subject: [PATCH] usb: gadget: function: Fix inconsistent indent

Remove whitespace before variable

Signed-off-by: Wei Ming Chen <[email protected]>
---
drivers/usb/gadget/function/u_hid.h | 4 ++--
drivers/usb/gadget/function/u_midi.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/gadget/function/u_hid.h b/drivers/usb/gadget/function/u_hid.h
index 84e6da302499..98d6af558c03 100644
--- a/drivers/usb/gadget/function/u_hid.h
+++ b/drivers/usb/gadget/function/u_hid.h
@@ -29,8 +29,8 @@ struct f_hid_opts {
* Protect the data form concurrent access by read/write
* and create symlink/remove symlink.
*/
- struct mutex lock;
- int refcnt;
+ struct mutex lock;
+ int refcnt;
};

int ghid_setup(struct usb_gadget *g, int count);
diff --git a/drivers/usb/gadget/function/u_midi.h b/drivers/usb/gadget/function/u_midi.h
index f6e14af7f566..2e400b495cb8 100644
--- a/drivers/usb/gadget/function/u_midi.h
+++ b/drivers/usb/gadget/function/u_midi.h
@@ -29,8 +29,8 @@ struct f_midi_opts {
* Protect the data form concurrent access by read/write
* and create symlink/remove symlink.
*/
- struct mutex lock;
- int refcnt;
+ struct mutex lock;
+ int refcnt;
};

#endif /* U_MIDI_H */
--
2.25.1


2021-05-05 14:14:19

by Felipe Balbi

[permalink] [raw]
Subject: Re: [PATCH] usb: gadget: function: Fix inconsistent indent

Wei Ming Chen <[email protected]> writes:

> Remove whitespace before variable
>
> Signed-off-by: Wei Ming Chen <[email protected]>

Acked-by: Felipe Balbi <[email protected]>

--
balbi


Attachments:
signature.asc (521.00 B)