Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77e2fd84 authored by Mark A. Greer's avatar Mark A. Greer Committed by Paul Walmsley
Browse files

ARM: OMAP2+: Remove unnecessary message when no AES IP is present



Remove the error message that prints when there is no AES IP
present to make it consistent with all the other IPs.

CC: Paul Walmsley <paul@pwsan.com>
Signed-off-by: default avatarMark A. Greer <mgreer@animalcreek.com>
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent 14ae5564
Loading
Loading
Loading
Loading
+9 −13
Original line number Diff line number Diff line
@@ -519,7 +519,6 @@ static void __init omap_init_sham(void)

static void __init omap_init_aes(void)
{
	if (cpu_is_omap24xx() || cpu_is_omap34xx()) {
	struct omap_hwmod *oh;
	struct platform_device *pdev;

@@ -529,9 +528,6 @@ static void __init omap_init_aes(void)

	pdev = omap_device_build("omap-aes", -1, oh, NULL, 0);
	WARN(IS_ERR(pdev), "Can't build omap_device for omap-aes\n");
	} else {
		pr_err("%s: platform not supported\n", __func__);
	}
}

/*-------------------------------------------------------------------------*/