From: myung-su.cha Date: Tue, 27 Mar 2018 10:14:25 +0000 (+0900) Subject: [COMMON] spi: s3c64xx: fix of_node name correctly X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ef2d1e151d35c0e3bee004a542dd49ebb52169e4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] spi: s3c64xx: fix of_node name correctly Change-Id: I179abd43e731fb25f2e4806afed18fe93fc61a00 Signed-off-by: myung-su.cha --- diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 38b2e5340441..a3379b23bdb7 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -1549,7 +1549,7 @@ static int s3c64xx_spi_probe(struct platform_device *pdev) sdd->idle_ip_index = exynos_get_idle_ip_index(dev_name(&pdev->dev)); if (pdev->dev.of_node) { - ret = of_alias_get_id(pdev->dev.of_node, "gate_spi_clk"); + ret = of_alias_get_id(pdev->dev.of_node, "spi"); if (ret < 0) { dev_err(&pdev->dev, "failed to get alias id, errno %d\n", ret);