Revert "spi: axi-spi-engine: fix version format string"

This reverts commit 5d6e336b9e which is
commit 0064db9ce4aa7cc794e6f4aed60dee0f94fc9bcf upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: Icdd3df2a340324be18475d14dfdcef0f4617542d
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2024-07-22 09:59:55 +00:00
parent f66f5edf10
commit af6c59d699

View File

@@ -532,7 +532,7 @@ static int spi_engine_probe(struct platform_device *pdev)
version = readl(spi_engine->base + ADI_AXI_REG_VERSION);
if (ADI_AXI_PCORE_VER_MAJOR(version) != 1) {
dev_err(&pdev->dev, "Unsupported peripheral version %u.%u.%u\n",
dev_err(&pdev->dev, "Unsupported peripheral version %u.%u.%c\n",
ADI_AXI_PCORE_VER_MAJOR(version),
ADI_AXI_PCORE_VER_MINOR(version),
ADI_AXI_PCORE_VER_PATCH(version));