[COMMON] i2c: exynos5: modify clk name to ipclk and gate
authormyung-su.cha <myung-su.cha@samsung.com>
Wed, 21 Mar 2018 09:01:39 +0000 (18:01 +0900)
committermyung-su.cha <myung-su.cha@samsung.com>
Wed, 9 May 2018 12:14:45 +0000 (21:14 +0900)
Change-Id: I44f0e61f5f5d6dd34804705851c61a68fba5ed6d
Signed-off-by: myung-su.cha <myung-su.cha@samsung.com>
drivers/i2c/busses/i2c-exynos5.c

index 5d144a1575d3ac37fb8bb756cbc1dc111df196d3..3706a268d39a33428751117cb85312bf3e304375 100644 (file)
@@ -1101,13 +1101,13 @@ static int exynos5_i2c_probe(struct platform_device *pdev)
        i2c->adap.class   = I2C_CLASS_HWMON | I2C_CLASS_SPD;
 
        i2c->dev = &pdev->dev;
-       i2c->clk = devm_clk_get(&pdev->dev, "gate_hsi2c");
+       i2c->clk = devm_clk_get(&pdev->dev, "gate_hsi2c_clk");
        if (IS_ERR(i2c->clk)) {
                dev_err(&pdev->dev, "cannot get clock\n");
                return -ENOENT;
        }
 
-       i2c->rate_clk = devm_clk_get(&pdev->dev, "rate_hsi2c");
+       i2c->rate_clk = devm_clk_get(&pdev->dev, "ipclk_hsi2c");
        if (IS_ERR(i2c->rate_clk)) {
                dev_err(&pdev->dev, "cannot get rate clock\n");
                return -ENOENT;