kallsyms: remove print_symbol() function
[sfrench/cifs-2.6.git] / Documentation / filesystems / sysfs.txt
index 9a3658cc399ed459f1e21d613dbf8e5b1b2bc647..a1426cabcef12c814ed3527e0d8663eddea8277b 100644 (file)
@@ -154,8 +154,8 @@ static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr,
         if (dev_attr->show)
                 ret = dev_attr->show(dev, dev_attr, buf);
         if (ret >= (ssize_t)PAGE_SIZE) {
-                print_symbol("dev_attr_show: %s returned bad count\n",
-                                (unsigned long)dev_attr->show);
+                printk("dev_attr_show: %pS returned bad count\n",
+                                dev_attr->show);
         }
         return ret;
 }