usb: gadget: s3c-hsotg: fix CodingStyle issues
authorPavel Machek <pavel@denx.de>
Mon, 30 Sep 2013 12:56:02 +0000 (14:56 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 2 Oct 2013 13:22:27 +0000 (08:22 -0500)
commita023da331c1d2a26669161031fe6e2c8e0a2009e
tree8c5f0b918f9909bef4a61f4fd384188523dd3b03
parenta89adb098ac33934b6b0a773853a12220376d600
usb: gadget: s3c-hsotg: fix CodingStyle issues

checkpatch.pl has some valid complaints about style in s3c-hsotg.c:
- macro with 'if' should be really enclosed in 'do {} while (0)'
- seq_puts() is going to be slightly faster than seq_printf()
- pr_err() is shorter than printk(KERN_ERR ...)

Signed-off-by: Pavel Machek <pavel@denx.de>
[bzolnier: minor fixes]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsotg.c