diff mbox

[tpmdd-devel,5/5,linux-next] tpm_ibmvtpm: remove unneccessary message level.

Message ID 1427745969-12959-5-git-send-email-fabf@skynet.be
State Accepted
Headers show

Commit Message

Fabian Frederick March 30, 2015, 8:06 p.m. UTC
KERN_ERR is implicitely declared in pr_err()

Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
 drivers/char/tpm/tpm_of.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Hüwe June 16, 2015, 9:11 p.m. UTC | #1
Applied, Thanks! (sorry for taking so long) 
Will be in next pull request.

Thanks,
Peter

------------------------------------------------------------------------------
diff mbox

Patch

diff --git a/drivers/char/tpm/tpm_of.c b/drivers/char/tpm/tpm_of.c
index c002d1b..eebe625 100644
--- a/drivers/char/tpm/tpm_of.c
+++ b/drivers/char/tpm/tpm_of.c
@@ -49,7 +49,7 @@  int read_log(struct tpm_bios_log *log)
 
 	basep = of_get_property(np, "linux,sml-base", NULL);
 	if (basep == NULL) {
-		pr_err(KERN_ERR "%s: ERROR - SML not found\n", __func__);
+		pr_err("%s: ERROR - SML not found\n", __func__);
 		goto cleanup_eio;
 	}