summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2021-10-15 10:14:51 +0200
committerLee Jones <lee.jones@linaro.org>2021-10-21 10:23:48 +0200
commite40b5971416d1bc61a36cc6d607abe0e9fc5987c (patch)
tree2128aeeb9217e0004a6339b25f87f52bb6f49e52 /drivers/mfd
parentmfd: ti_am335x_tscadc: Rename a variable (diff)
downloadlinux-e40b5971416d1bc61a36cc6d607abe0e9fc5987c.tar.xz
linux-e40b5971416d1bc61a36cc6d607abe0e9fc5987c.zip
mfd: ti_am335x_tscadc: Fix an error message
The error message if we cannot retrieve the clock tells us that the touchscreen controller clock was unavailable. This is wrong, this is the "main" clock for the hardware block, it is not specific to the touchscreen and won't change when we will introduce ADC1/magnetic reader support so let's correct this comment. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20211015081506.933180-34-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/ti_am335x_tscadc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c
index 70a423e57067..9699fe6ca7eb 100644
--- a/drivers/mfd/ti_am335x_tscadc.c
+++ b/drivers/mfd/ti_am335x_tscadc.c
@@ -209,7 +209,7 @@ static int ti_tscadc_probe(struct platform_device *pdev)
*/
clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(clk)) {
- dev_err(&pdev->dev, "failed to get TSC fck\n");
+ dev_err(&pdev->dev, "failed to get fck\n");
err = PTR_ERR(clk);
goto err_disable_clk;
}