Skip to content

Commit f0563eb

Browse files
krzkkuba-moo
authored andcommitted
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: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Acked-by: Mark Greer <mgreer@animalcreek.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent e52cc2a commit f0563eb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/nfc/trf7970a.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2170,8 +2170,6 @@ static int trf7970a_suspend(struct device *dev)
21702170
struct spi_device *spi = to_spi_device(dev);
21712171
struct trf7970a *trf = spi_get_drvdata(spi);
21722172

2173-
dev_dbg(dev, "Suspend\n");
2174-
21752173
mutex_lock(&trf->lock);
21762174

21772175
trf7970a_shutdown(trf);
@@ -2187,8 +2185,6 @@ static int trf7970a_resume(struct device *dev)
21872185
struct trf7970a *trf = spi_get_drvdata(spi);
21882186
int ret;
21892187

2190-
dev_dbg(dev, "Resume\n");
2191-
21922188
mutex_lock(&trf->lock);
21932189

21942190
ret = trf7970a_startup(trf);
@@ -2206,8 +2202,6 @@ static int trf7970a_pm_runtime_suspend(struct device *dev)
22062202
struct trf7970a *trf = spi_get_drvdata(spi);
22072203
int ret;
22082204

2209-
dev_dbg(dev, "Runtime suspend\n");
2210-
22112205
mutex_lock(&trf->lock);
22122206

22132207
ret = trf7970a_power_down(trf);
@@ -2223,8 +2217,6 @@ static int trf7970a_pm_runtime_resume(struct device *dev)
22232217
struct trf7970a *trf = spi_get_drvdata(spi);
22242218
int ret;
22252219

2226-
dev_dbg(dev, "Runtime resume\n");
2227-
22282220
ret = trf7970a_power_up(trf);
22292221
if (!ret)
22302222
pm_runtime_mark_last_busy(dev);

0 commit comments

Comments
 (0)