From 9fc8a10a9db6e298e91a7eee12055eded89671aa Mon Sep 17 00:00:00 2001 From: Kyungwoo Kang Date: Tue, 10 Oct 2017 11:24:08 +0900 Subject: [PATCH] [COMMON] usi_v2: Fix channel id alias To get Channel ID information from device tree file, we need to match alias naming with driver code and Device tree. Change-Id: I6d0e378b5cc46c78f9dd5039777bc6436ce75e6c Signed-off-by: Kyungwoo Kang --- drivers/soc/samsung/usi_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/samsung/usi_v2.c b/drivers/soc/samsung/usi_v2.c index 71f01b9b74bc..5a6f1e4e19de 100644 --- a/drivers/soc/samsung/usi_v2.c +++ b/drivers/soc/samsung/usi_v2.c @@ -61,7 +61,7 @@ static int usi_v2_probe(struct platform_device *pdev) return -ENOMEM; } - data->ch_id = of_alias_get_id(pdev->dev.of_node, "usi_v2"); + data->ch_id = of_alias_get_id(pdev->dev.of_node, "usi"); res = platform_get_resource(pdev, IORESOURCE_MEM, 0); data->base = devm_ioremap_resource(&pdev->dev, res); -- 2.20.1