diff options
author | Marek Vasut <marex@denx.de> | 2014-05-14 05:36:41 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-05-22 09:03:12 -0400 |
commit | 701bcbc1892f408aa22b0190f33dd6de063e76aa (patch) | |
tree | 03f87a092d2c51f3fd4625addda648a97de256ac /drivers/crypto | |
parent | 2e1fc34b29cba8b0d0a0a16b1dd2304b3b44d4df (diff) |
crypto: geode - Weed out printk() from probe()
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
Cc: Eric BĂ©nard <eric@eukrea.com>
Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Cc: Kent Yoder <key@linux.vnet.ibm.com>
Cc: Michal Ludvig <michal@logix.cz>
Cc: Varun Wadekar <vwadekar@nvidia.com>
Cc: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Cc: linux-geode@lists.infradead.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/geode-aes.c | 4 |
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) | |||
547 | if (ret) | 547 | if (ret) |
548 | goto eecb; | 548 | goto eecb; |
549 | 549 | ||
550 | printk(KERN_NOTICE "geode-aes: GEODE AES engine enabled.\n"); | 550 | dev_notice(&dev->dev, "GEODE AES engine enabled.\n"); |
551 | return 0; | 551 | return 0; |
552 | 552 | ||
553 | eecb: | 553 | eecb: |
@@ -565,7 +565,7 @@ static int geode_aes_probe(struct pci_dev *dev, const struct pci_device_id *id) | |||
565 | eenable: | 565 | eenable: |
566 | pci_disable_device(dev); | 566 | pci_disable_device(dev); |
567 | 567 | ||
568 | printk(KERN_ERR "geode-aes: GEODE AES initialization failed.\n"); | 568 | dev_err(&dev->dev, "GEODE AES initialization failed.\n"); |
569 | return ret; | 569 | return ret; |
570 | } | 570 | } |
571 | 571 | ||