Commit 687c7f9e authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] sysfs: change print() to pr_debug() to not annoy everyone.

parent adf9e8ae
......@@ -2,6 +2,8 @@
* bin.c - binary file operations for sysfs.
*/
#undef DEBUG
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/kobject.h>
......@@ -48,7 +50,7 @@ read(struct file * file, char __user * userbuf, size_t count, loff_t * off)
if (copy_to_user(userbuf, buffer + offs, count) != 0)
return -EINVAL;
printk("offs = %lld, *off = %lld, count = %zd\n", offs, *off, count);
pr_debug("offs = %lld, *off = %lld, count = %zd\n", offs, *off, count);
*off = offs + count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment