diff options
author | Donald Dutile <ddutile@redhat.com> | 2012-06-08 17:13:11 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-06-11 10:27:44 +0200 |
commit | e9071b0be5e7ce4903b7f7c370769d485774d3e3 (patch) | |
tree | 06b1a1adfe2f807d28e9b3ab6cf2b56f6744bc4c /drivers/leds | |
parent | 6f5cf52114dd87f9ed091678f7dfc8ff21bbe2b3 (diff) |
iommu/dmar: Use pr_format() instead of PREFIX to tidy up pr_*() calls
Joe Perches recommended getting rid of the redundant
formatting of adding "PREFIX" to all the uses of pr_*() calls.
The recommendation helps to reduce source and improve
readibility.
While cleaning up the PREFIX's, I saw that one of
the pr_warn() was redundant in dmar_parse_one_dev_scope(),
since the same message was printed after breaking out of the
while loop for the same condition, !pdev.
So, to avoid a duplicate message, I removed the one in the while
loop.
Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Donald Dutile <ddutile@redhat.com>
Cc: iommu@lists.linux-foundation.org
Cc: chrisw@redhat.com
Cc: suresh.b.siddha@intel.com
Cc: dwmw2@infradead.org
Link: http://lkml.kernel.org/r/1339189991-13129-1-git-send-email-ddutile@redhat.com
[ Small whitespace fixes. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions