From: Jean Delvare Date: Mon, 16 Jun 2014 09:55:13 +0000 (+0200) Subject: fujitsu-laptop: Clear build warnings X-Git-Tag: omap-for-v3.17/fixes-against-rc2~44^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4960cf01f70d86c6440ad5dd540d0c82381785d;p=pandora-kernel.git fujitsu-laptop: Clear build warnings When CONFIG_FUJITSU_LAPTOP_DEBUG is disabled and W=1, the fujitsu-laptop driver builds with the following warnings: drivers/platform/x86/fujitsu-laptop.c: In function "bl_update_status": drivers/platform/x86/fujitsu-laptop.c:409:8: warning: suggest braces around empty body in an "if" statement [-Wempty-body] ret); ^ drivers/platform/x86/fujitsu-laptop.c:418:8: warning: suggest braces around empty body in an "if" statement [-Wempty-body] ret); ^ Rework the debug printk helper macro to get rid of these. I verified that this change has no effect on the generated binary, both in the debug and non-debug case. Signed-off-by: Jean Delvare Acked-by: Jonathan Woithe Cc: Matthew Garrett Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed