ARM: OMAP2+: Remove unnecessary message when no SHA IP is present
Remove the error message that prints when there is no SHA IP present to make it consistent with all the other IPs. CC: Paul Walmsley <paul@pwsan.com> Signed-off-by: Mark A. Greer <mgreer@animalcreek.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
This commit is contained in:
parent
26f88e6ebf
commit
8c7bb5739e
|
@ -506,7 +506,6 @@ static void omap_init_rng(void)
|
|||
|
||||
static void __init omap_init_sham(void)
|
||||
{
|
||||
if (cpu_is_omap24xx() || cpu_is_omap34xx()) {
|
||||
struct omap_hwmod *oh;
|
||||
struct platform_device *pdev;
|
||||
|
||||
|
@ -516,9 +515,6 @@ static void __init omap_init_sham(void)
|
|||
|
||||
pdev = omap_device_build("omap-sham", -1, oh, NULL, 0);
|
||||
WARN(IS_ERR(pdev), "Can't build omap_device for omap-sham\n");
|
||||
} else {
|
||||
pr_err("%s: platform not supported\n", __func__);
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(CONFIG_CRYPTO_DEV_OMAP_AES) || defined(CONFIG_CRYPTO_DEV_OMAP_AES_MODULE)
|
||||
|
|
Loading…
Reference in New Issue