aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2014-05-14 11:36:41 +0200
committerHerbert Xu <[email protected]>2014-05-22 21:03:12 +0800
commit701bcbc1892f408aa22b0190f33dd6de063e76aa (patch)
tree03f87a092d2c51f3fd4625addda648a97de256ac
parent2e1fc34b29cba8b0d0a0a16b1dd2304b3b44d4df (diff)
crypto: geode - Weed out printk() from probe()
Signed-off-by: Marek Vasut <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Dmitry Kasatkin <[email protected]> Cc: Eric BĂ©nard <[email protected]> Cc: Jussi Kivilinna <[email protected]> Cc: Kent Yoder <[email protected]> Cc: Michal Ludvig <[email protected]> Cc: Varun Wadekar <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: [email protected] Signed-off-by: Herbert Xu <[email protected]>
-rw-r--r--drivers/crypto/geode-aes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/geode-aes.c b/drivers/crypto/geode-aes.c
index 69e1b025b9a4..8e482cefc77b 100644
--- a/drivers/crypto/geode-aes.c
+++ b/drivers/crypto/geode-aes.c
@@ -547,7 +547,7 @@ static int geode_aes_probe(struct pci_dev *dev, const struct pci_device_id *id)
if (ret)
goto eecb;
- printk(KERN_NOTICE "geode-aes: GEODE AES engine enabled.\n");
+ dev_notice(&dev->dev, "GEODE AES engine enabled.\n");
return 0;
eecb:
@@ -565,7 +565,7 @@ static int geode_aes_probe(struct pci_dev *dev, const struct pci_device_id *id)
eenable:
pci_disable_device(dev);
- printk(KERN_ERR "geode-aes: GEODE AES initialization failed.\n");
+ dev_err(&dev->dev, "GEODE AES initialization failed.\n");
return ret;
}