diff mbox series

usb: gadget: f_uac1: fixing inconsistent indenting

Message ID 20210814072214.4893-1-pavel.hofman@ivitera.com
State Superseded
Headers show
Series usb: gadget: f_uac1: fixing inconsistent indenting | expand

Commit Message

Pavel Hofman Aug. 14, 2021, 7:22 a.m. UTC
Fixing inconsistent indenting identified by kernel test
 robot.

 Signed-off-by: Pavel Hofman<pavel.hofman@ivitera.com>
---
 drivers/usb/gadget/function/f_uac1.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Comments

Greg KH Aug. 16, 2021, 4:56 p.m. UTC | #1
On Sat, Aug 14, 2021 at 09:22:14AM +0200, Pavel Hofman wrote:
>  Fixing inconsistent indenting identified by kernel test

>  robot.

> 

>  Signed-off-by: Pavel Hofman<pavel.hofman@ivitera.com>


Please do not indent your changelog and signed-off-by line by a space.

Also, you need a space after your 'n' and before the '<'.

And drop the extra space in the subject line.

thanks,

greg k-h
diff mbox series

Patch

diff --git a/drivers/usb/gadget/function/f_uac1.c b/drivers/usb/gadget/function/f_uac1.c
index 3b3db1a8df75..5b3502df4e13 100644
--- a/drivers/usb/gadget/function/f_uac1.c
+++ b/drivers/usb/gadget/function/f_uac1.c
@@ -1084,24 +1084,24 @@  static int f_audio_validate_opts(struct g_audio *audio, struct device *dev)
 
 	if (opts->p_volume_max <= opts->p_volume_min) {
 		dev_err(dev, "Error: incorrect playback volume max/min\n");
-			return -EINVAL;
+		return -EINVAL;
 	} else if (opts->c_volume_max <= opts->c_volume_min) {
 		dev_err(dev, "Error: incorrect capture volume max/min\n");
-			return -EINVAL;
+		return -EINVAL;
 	} else if (opts->p_volume_res <= 0) {
 		dev_err(dev, "Error: negative/zero playback volume resolution\n");
-			return -EINVAL;
+		return -EINVAL;
 	} else if (opts->c_volume_res <= 0) {
 		dev_err(dev, "Error: negative/zero capture volume resolution\n");
-			return -EINVAL;
+		return -EINVAL;
 	}
 
 	if ((opts->p_volume_max - opts->p_volume_min) % opts->p_volume_res) {
 		dev_err(dev, "Error: incorrect playback volume resolution\n");
-			return -EINVAL;
+		return -EINVAL;
 	} else if ((opts->c_volume_max - opts->c_volume_min) % opts->c_volume_res) {
 		dev_err(dev, "Error: incorrect capture volume resolution\n");
-			return -EINVAL;
+		return -EINVAL;
 	}
 
 	return 0;