Commit f0563ebe authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Jakub Kicinski

nfc: trf7970a: drop unneeded debug prints

ftrace is a preferred and standard way to debug entering and exiting
functions so drop useless debug prints.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: default avatarMark Greer <mgreer@animalcreek.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e52cc2a6
...@@ -2170,8 +2170,6 @@ static int trf7970a_suspend(struct device *dev) ...@@ -2170,8 +2170,6 @@ static int trf7970a_suspend(struct device *dev)
struct spi_device *spi = to_spi_device(dev); struct spi_device *spi = to_spi_device(dev);
struct trf7970a *trf = spi_get_drvdata(spi); struct trf7970a *trf = spi_get_drvdata(spi);
dev_dbg(dev, "Suspend\n");
mutex_lock(&trf->lock); mutex_lock(&trf->lock);
trf7970a_shutdown(trf); trf7970a_shutdown(trf);
...@@ -2187,8 +2185,6 @@ static int trf7970a_resume(struct device *dev) ...@@ -2187,8 +2185,6 @@ static int trf7970a_resume(struct device *dev)
struct trf7970a *trf = spi_get_drvdata(spi); struct trf7970a *trf = spi_get_drvdata(spi);
int ret; int ret;
dev_dbg(dev, "Resume\n");
mutex_lock(&trf->lock); mutex_lock(&trf->lock);
ret = trf7970a_startup(trf); ret = trf7970a_startup(trf);
...@@ -2206,8 +2202,6 @@ static int trf7970a_pm_runtime_suspend(struct device *dev) ...@@ -2206,8 +2202,6 @@ static int trf7970a_pm_runtime_suspend(struct device *dev)
struct trf7970a *trf = spi_get_drvdata(spi); struct trf7970a *trf = spi_get_drvdata(spi);
int ret; int ret;
dev_dbg(dev, "Runtime suspend\n");
mutex_lock(&trf->lock); mutex_lock(&trf->lock);
ret = trf7970a_power_down(trf); ret = trf7970a_power_down(trf);
...@@ -2223,8 +2217,6 @@ static int trf7970a_pm_runtime_resume(struct device *dev) ...@@ -2223,8 +2217,6 @@ static int trf7970a_pm_runtime_resume(struct device *dev)
struct trf7970a *trf = spi_get_drvdata(spi); struct trf7970a *trf = spi_get_drvdata(spi);
int ret; int ret;
dev_dbg(dev, "Runtime resume\n");
ret = trf7970a_power_up(trf); ret = trf7970a_power_up(trf);
if (!ret) if (!ret)
pm_runtime_mark_last_busy(dev); pm_runtime_mark_last_busy(dev);
......
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