Commit 049b611f authored by Pushkar Jambhlekar's avatar Pushkar Jambhlekar Committed by Greg Kroah-Hartman
Browse files

drivers/staging/wilc1000: Using __func__ instead of hardcoded function name



dev_err: replacing hardcoded function name with '%s' and __func__

Signed-off-by: default avatarPushkar Jambhlekar <pushkar.iit@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a4b513f0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ static int wilc_sdio_cmd52(struct wilc *wilc, struct sdio_cmd52 *cmd)
	sdio_release_host(func);

	if (ret)
		dev_err(&func->dev, "wilc_sdio_cmd52..failed, err(%d)\n", ret);
		dev_err(&func->dev, "%s..failed, err(%d)\n", __func__, ret);
	return ret;
}

@@ -103,7 +103,7 @@ static int wilc_sdio_cmd53(struct wilc *wilc, struct sdio_cmd53 *cmd)
	sdio_release_host(func);

	if (ret)
		dev_err(&func->dev, "wilc_sdio_cmd53..failed, err(%d)\n", ret);
		dev_err(&func->dev, "%s..failed, err(%d)\n", __func__,  ret);

	return ret;
}