diff options
author | 2012-06-05 16:40:10 +0530 | |
---|---|---|
committer | 2012-06-12 11:20:17 -0700 | |
commit | c810a399798022d545191e2daaca0368623c15d3 (patch) | |
tree | da626a81e429ce6cc5b9fe098fd0bdceb22493ed /drivers/staging/android/timed_output.c | |
parent | staging: comedi: export alloc_subdevices as comedi_alloc_subdevices (diff) | |
download | linux-dev-c810a399798022d545191e2daaca0368623c15d3.tar.xz linux-dev-c810a399798022d545191e2daaca0368623c15d3.zip |
staging: Android: Fix some checkpatch warnings
Warnings reported by checkpatch.pl have been fixed.
Cc: Brian Swetland <swetland@google.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/timed_output.c')
-rw-r--r-- | drivers/staging/android/timed_output.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/android/timed_output.c b/drivers/staging/android/timed_output.c index 38d930cadad3..ec9e2ae2de0d 100644 --- a/drivers/staging/android/timed_output.c +++ b/drivers/staging/android/timed_output.c @@ -14,6 +14,8 @@ * */ +#define pr_fmt(fmt) "timed_output: " fmt + #include <linux/module.h> #include <linux/types.h> #include <linux/device.h> @@ -90,7 +92,7 @@ int timed_output_dev_register(struct timed_output_dev *tdev) err_create_file: device_destroy(timed_output_class, MKDEV(0, tdev->index)); - printk(KERN_ERR "timed_output: Failed to register driver %s\n", + pr_err("failed to register driver %s\n", tdev->name); return ret; |