aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2016-08-26 09:09:00 -0400
committerWolfram Sang <wsa@the-dreams.de>2016-08-30 15:58:35 -0400
commite8e999cbe725a4403ac771b1e4c8a5de7e0031f3 (patch)
tree2accf5a84871b05ca75d76d343621743da786635
parentf5076685b3aa4f292ca322404886fee8d3d4f03d (diff)
i2c: tegra: Add missing new line characters
Add missing new line characters for the various error messages. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Acked-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r--drivers/i2c/busses/i2c-tegra.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index 7a7f899936a3..7f31a103c04a 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -833,7 +833,7 @@ static int tegra_i2c_probe(struct platform_device *pdev)
833 833
834 div_clk = devm_clk_get(&pdev->dev, "div-clk"); 834 div_clk = devm_clk_get(&pdev->dev, "div-clk");
835 if (IS_ERR(div_clk)) { 835 if (IS_ERR(div_clk)) {
836 dev_err(&pdev->dev, "missing controller clock"); 836 dev_err(&pdev->dev, "missing controller clock\n");
837 return PTR_ERR(div_clk); 837 return PTR_ERR(div_clk);
838 } 838 }
839 839
@@ -851,7 +851,7 @@ static int tegra_i2c_probe(struct platform_device *pdev)
851 851
852 i2c_dev->rst = devm_reset_control_get(&pdev->dev, "i2c"); 852 i2c_dev->rst = devm_reset_control_get(&pdev->dev, "i2c");
853 if (IS_ERR(i2c_dev->rst)) { 853 if (IS_ERR(i2c_dev->rst)) {
854 dev_err(&pdev->dev, "missing controller reset"); 854 dev_err(&pdev->dev, "missing controller reset\n");
855 return PTR_ERR(i2c_dev->rst); 855 return PTR_ERR(i2c_dev->rst);
856 } 856 }
857 857
@@ -871,7 +871,7 @@ static int tegra_i2c_probe(struct platform_device *pdev)
871 if (!i2c_dev->hw->has_single_clk_source) { 871 if (!i2c_dev->hw->has_single_clk_source) {
872 fast_clk = devm_clk_get(&pdev->dev, "fast-clk"); 872 fast_clk = devm_clk_get(&pdev->dev, "fast-clk");
873 if (IS_ERR(fast_clk)) { 873 if (IS_ERR(fast_clk)) {
874 dev_err(&pdev->dev, "missing fast clock"); 874 dev_err(&pdev->dev, "missing fast clock\n");
875 return PTR_ERR(fast_clk); 875 return PTR_ERR(fast_clk);
876 } 876 }
877 i2c_dev->fast_clk = fast_clk; 877 i2c_dev->fast_clk = fast_clk;
@@ -919,7 +919,7 @@ static int tegra_i2c_probe(struct platform_device *pdev)
919 919
920 ret = tegra_i2c_init(i2c_dev); 920 ret = tegra_i2c_init(i2c_dev);
921 if (ret) { 921 if (ret) {
922 dev_err(&pdev->dev, "Failed to initialize i2c controller"); 922 dev_err(&pdev->dev, "Failed to initialize i2c controller\n");
923 goto disable_div_clk; 923 goto disable_div_clk;
924 } 924 }
925 925