Commit e8e999cb authored by Jon Hunter's avatar Jon Hunter Committed by Wolfram Sang

i2c: tegra: Add missing new line characters

Add missing new line characters for the various error messages.
Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
Acked-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent f5076685
...@@ -833,7 +833,7 @@ static int tegra_i2c_probe(struct platform_device *pdev) ...@@ -833,7 +833,7 @@ static int tegra_i2c_probe(struct platform_device *pdev)
div_clk = devm_clk_get(&pdev->dev, "div-clk"); div_clk = devm_clk_get(&pdev->dev, "div-clk");
if (IS_ERR(div_clk)) { if (IS_ERR(div_clk)) {
dev_err(&pdev->dev, "missing controller clock"); dev_err(&pdev->dev, "missing controller clock\n");
return PTR_ERR(div_clk); return PTR_ERR(div_clk);
} }
...@@ -851,7 +851,7 @@ static int tegra_i2c_probe(struct platform_device *pdev) ...@@ -851,7 +851,7 @@ static int tegra_i2c_probe(struct platform_device *pdev)
i2c_dev->rst = devm_reset_control_get(&pdev->dev, "i2c"); i2c_dev->rst = devm_reset_control_get(&pdev->dev, "i2c");
if (IS_ERR(i2c_dev->rst)) { if (IS_ERR(i2c_dev->rst)) {
dev_err(&pdev->dev, "missing controller reset"); dev_err(&pdev->dev, "missing controller reset\n");
return PTR_ERR(i2c_dev->rst); return PTR_ERR(i2c_dev->rst);
} }
...@@ -871,7 +871,7 @@ static int tegra_i2c_probe(struct platform_device *pdev) ...@@ -871,7 +871,7 @@ static int tegra_i2c_probe(struct platform_device *pdev)
if (!i2c_dev->hw->has_single_clk_source) { if (!i2c_dev->hw->has_single_clk_source) {
fast_clk = devm_clk_get(&pdev->dev, "fast-clk"); fast_clk = devm_clk_get(&pdev->dev, "fast-clk");
if (IS_ERR(fast_clk)) { if (IS_ERR(fast_clk)) {
dev_err(&pdev->dev, "missing fast clock"); dev_err(&pdev->dev, "missing fast clock\n");
return PTR_ERR(fast_clk); return PTR_ERR(fast_clk);
} }
i2c_dev->fast_clk = fast_clk; i2c_dev->fast_clk = fast_clk;
...@@ -919,7 +919,7 @@ static int tegra_i2c_probe(struct platform_device *pdev) ...@@ -919,7 +919,7 @@ static int tegra_i2c_probe(struct platform_device *pdev)
ret = tegra_i2c_init(i2c_dev); ret = tegra_i2c_init(i2c_dev);
if (ret) { if (ret) {
dev_err(&pdev->dev, "Failed to initialize i2c controller"); dev_err(&pdev->dev, "Failed to initialize i2c controller\n");
goto disable_div_clk; goto disable_div_clk;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment