]> git.karo-electronics.de Git - linux-beck.git/commit
mfd: ipaq-micro: Fix coding style errors/warnings reported by checkpatch
authorLee Jones <lee.jones@linaro.org>
Mon, 21 Jul 2014 15:08:55 +0000 (16:08 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 25 Jul 2014 14:31:45 +0000 (15:31 +0100)
commit9336fe9104120688dc61fdc3d74a123c49ff5ea2
tree515e1ae71bec6832ceb37f9deb55df365f9b4114
parentd69d4212b821e60fa82d57564067bf73df057fd3
mfd: ipaq-micro: Fix coding style errors/warnings reported by checkpatch

This is part of an effort to clean-up the MFD subsystem.

ERROR: space required before the open parenthesis '('
+                       if(!micro->msg)

WARNING: unnecessary whitespace before a quoted newline
+                       dev_dbg(micro->dev, "key message ignored, no handle \n");

WARNING: unnecessary whitespace before a quoted newline
+                       dev_dbg(micro->dev, "touchscreen message ignored, no handle \n");

WARNING: space prohibited before semicolon
+               rx->id = (ch & 0xf0) >> 4 ;

total: 1 errors, 3 warnings, 482 lines checked

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ipaq-micro.c