summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/pcmcia/pcmcia_cis.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/pcmcia/pcmcia_cis.c')
-rw-r--r--kernel/drivers/pcmcia/pcmcia_cis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/pcmcia/pcmcia_cis.c b/kernel/drivers/pcmcia/pcmcia_cis.c
index e2c92415b..1c05d74e8 100644
--- a/kernel/drivers/pcmcia/pcmcia_cis.c
+++ b/kernel/drivers/pcmcia/pcmcia_cis.c
@@ -44,7 +44,7 @@ int pccard_read_tuple(struct pcmcia_socket *s, unsigned int function,
buf = kmalloc(256, GFP_KERNEL);
if (buf == NULL) {
- dev_printk(KERN_WARNING, &s->dev, "no memory to read tuple\n");
+ dev_warn(&s->dev, "no memory to read tuple\n");
return -ENOMEM;
}
tuple.DesiredTuple = code;
@@ -94,7 +94,7 @@ int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function,
buf = kzalloc(256, GFP_KERNEL);
if (buf == NULL) {
- dev_printk(KERN_WARNING, &s->dev, "no memory to read tuple\n");
+ dev_warn(&s->dev, "no memory to read tuple\n");
return -ENOMEM;
}