summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorBean Huo <beanhuo@micron.com>2021-03-19 13:13:56 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2021-03-30 11:42:06 +0200
commit6b0e0fce4074c1fd6d7d56face140ce67110b3b2 (patch)
tree2e02a91f4445784ffe8ee5e17193ba0b12ff6fe3 /drivers/mmc
parent955047f3c35a3116416ffbddcaeeb6499afaf43b (diff)
downloadlwn-6b0e0fce4074c1fd6d7d56face140ce67110b3b2.tar.gz
lwn-6b0e0fce4074c1fd6d7d56face140ce67110b3b2.zip
mmc: cavium: Use '"%s...", __func__' to print function name
Use preferred way '"%s...", __func__' to print function name. Signed-off-by: Bean Huo <beanhuo@micron.com> Link: https://lore.kernel.org/r/20210319121357.255176-2-huobean@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/cavium.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/cavium.c b/drivers/mmc/host/cavium.c
index 4bb8f2800a2b..95a41983c6c0 100644
--- a/drivers/mmc/host/cavium.c
+++ b/drivers/mmc/host/cavium.c
@@ -656,8 +656,7 @@ static void cvm_mmc_dma_request(struct mmc_host *mmc,
if (!mrq->data || !mrq->data->sg || !mrq->data->sg_len ||
!mrq->stop || mrq->stop->opcode != MMC_STOP_TRANSMISSION) {
- dev_err(&mmc->card->dev,
- "Error: cmv_mmc_dma_request no data\n");
+ dev_err(&mmc->card->dev, "Error: %s no data\n", __func__);
goto error;
}