mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
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>
This commit is contained in:
parent
2e1fc34b29
commit
701bcbc189
1 changed files with 2 additions and 2 deletions
|
@ -547,7 +547,7 @@ static int geode_aes_probe(struct pci_dev *dev, const struct pci_device_id *id)
|
||||||
if (ret)
|
if (ret)
|
||||||
goto eecb;
|
goto eecb;
|
||||||
|
|
||||||
printk(KERN_NOTICE "geode-aes: GEODE AES engine enabled.\n");
|
dev_notice(&dev->dev, "GEODE AES engine enabled.\n");
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
eecb:
|
eecb:
|
||||||
|
@ -565,7 +565,7 @@ static int geode_aes_probe(struct pci_dev *dev, const struct pci_device_id *id)
|
||||||
eenable:
|
eenable:
|
||||||
pci_disable_device(dev);
|
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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue