mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
drivers: base: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
dev_<level> calls take less code than dev_printk(KERN_<LEVEL> and reducing object size is good. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b1d6d82255
commit
a369a7ebbf
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user