]> git.baikalelectronics.ru Git - kernel.git/commit
charger-manager: Add missing newlines, fix a couple of typos, add pr_fmt
authorJoe Perches <joe@perches.com>
Fri, 7 Jun 2013 01:25:12 +0000 (18:25 -0700)
committerAnton Vorontsov <anton@enomsg.org>
Sun, 9 Jun 2013 17:07:36 +0000 (10:07 -0700)
commita0a7d04918d77f6b79b5ff7a99c58df73d82f716
treebb5bea82e368b4fbeb29d2cda3d50e74626bcbb0
parenteff27cea6ecf6a257c5f92c5f083ffbe15038c52
charger-manager: Add missing newlines, fix a couple of typos, add pr_fmt

Make sure that dev_<level> calls are newline terminated.
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt to prefix
all pr_<level> calls with "charger-manager: "

Fix a couple of typos.
Fix formats with terminating n that should be \n.
Coalesce formats for easier grep.
Align arguments to open parenthesis for these dev_<level> calls.
Add missing spaces after coalescing multiple string segments.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/charger-manager.c