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>
This commit is contained in:
Bean Huo 2021-03-19 13:13:56 +01:00 committed by Ulf Hansson
parent 955047f3c3
commit 6b0e0fce40

View File

@ -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;
}