summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts5208/rtsx.c
diff options
context:
space:
mode:
authorGaurav Pathak2017-07-20 18:12:18 +0200
committerGreg Kroah-Hartman2017-07-30 17:29:31 +0200
commit2d7725913528ff5c7054d11d6bc44145e227ef45 (patch)
tree1977a82d204e57920c45954f7cb07b6aff350bfa /drivers/staging/rts5208/rtsx.c
parentstaging: wilc1000: fix spelling mistake: "Iinitialization" -> "initialization" (diff)
downloadkernel-qcow2-linux-2d7725913528ff5c7054d11d6bc44145e227ef45.tar.gz
kernel-qcow2-linux-2d7725913528ff5c7054d11d6bc44145e227ef45.tar.xz
kernel-qcow2-linux-2d7725913528ff5c7054d11d6bc44145e227ef45.zip
staging: rts5208: Change fixed function names with "%s: ", __func__
staging: rts5208: Fix coding style issue caught by checkpatch.pl related to function name in debug print Signed-off-by: Gaurav Pathak <gauravpathak129@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rts5208/rtsx.c')
-rw-r--r--drivers/staging/rts5208/rtsx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rts5208/rtsx.c b/drivers/staging/rts5208/rtsx.c
index b8177f50fabc..53748d61e20e 100644
--- a/drivers/staging/rts5208/rtsx.c
+++ b/drivers/staging/rts5208/rtsx.c
@@ -999,7 +999,7 @@ static int rtsx_probe(struct pci_dev *pci,
/* We come here if there are any problems */
errout:
- dev_err(&pci->dev, "rtsx_probe() failed\n");
+ dev_err(&pci->dev, "%s failed\n", __func__);
release_everything(dev);
return err;
@@ -1009,7 +1009,7 @@ static void rtsx_remove(struct pci_dev *pci)
{
struct rtsx_dev *dev = pci_get_drvdata(pci);
- dev_info(&pci->dev, "rtsx_remove() called\n");
+ dev_info(&pci->dev, "%s called\n", __func__);
quiesce_and_remove_host(dev);
release_everything(dev);