Merge tag 'wberr-v4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton...
[sfrench/cifs-2.6.git] / drivers / staging / comedi / drivers.c
index a5bf2cc165c01e6c9a452ed56e6b02a5e901b4fe..0b43db6371c68ae9f3730a5789dcf1d7eb218ece 100644 (file)
@@ -995,12 +995,12 @@ int comedi_auto_config(struct device *hardware_device,
        int ret;
 
        if (!hardware_device) {
-               pr_warn("BUG! comedi_auto_config called with NULL hardware_device\n");
+               pr_warn("BUG! %s called with NULL hardware_device\n", __func__);
                return -EINVAL;
        }
        if (!driver) {
                dev_warn(hardware_device,
-                        "BUG! comedi_auto_config called with NULL comedi driver\n");
+                        "BUG! %s called with NULL comedi driver\n", __func__);
                return -EINVAL;
        }