Merge tag 'nfs-for-3.8-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[firefly-linux-kernel-4.4.55.git] / drivers / base / attribute_container.c
index 8fc200b2e2c0a3ceed42364b467a2ea26b574fcf..d78b204e65c1728603384bb4f00f5e54f0601f69 100644 (file)
@@ -158,7 +158,7 @@ attribute_container_add_device(struct device *dev,
 
                ic = kzalloc(sizeof(*ic), GFP_KERNEL);
                if (!ic) {
-                       dev_printk(KERN_ERR, dev, "failed to allocate class container\n");
+                       dev_err(dev, "failed to allocate class container\n");
                        continue;
                }