i915: Add and use pr_fmt and pr_<level>
Use a more current logging style. Ensure that appropriate logging messages are prefixed with "i915: ". Convert printks to pr_<level>. Align arguments. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:

committed by
Daniel Vetter

parent
5a15ab5b93
commit
a70491cc6b
@@ -25,6 +25,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
||||
|
||||
#include <linux/acpi.h>
|
||||
#include <linux/acpi_io.h>
|
||||
#include <acpi/video.h>
|
||||
@@ -355,7 +357,7 @@ static void intel_didl_outputs(struct drm_device *dev)
|
||||
}
|
||||
|
||||
if (!acpi_video_bus) {
|
||||
printk(KERN_WARNING "No ACPI video bus found\n");
|
||||
pr_warn("No ACPI video bus found\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user