Skip to contentSkip to conversation

tpm/st33zp24: Remove unneeded linux/miscdevice.h include

PATCH Applied Corentin Labbe 2 participants 2 messages Dec 15, 2016 – Dec 19, 2016 TPM device driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tpm/st33zp24: Remove unneeded linux/miscdevice.h include

tpm/st33zp24/st33zp24.c does not use any miscdevice so this patch remove this unnecessary inclusion.

---
 drivers/char/tpm/st33zp24/st33zp24.c | 1 -
 1 file changed, 1 deletion(-)
drivers/char/tpm/st33zp24/st33zp24.c +0 -1
index 6f060c7..e8e0f7c 100644
@@ -18,7 +18,6 @@
 
 #include <linux/module.h>
 #include <linux/fs.h>
-#include <linux/miscdevice.h>
 #include <linux/kernel.h>
 #include <linux/delay.h>
 #include <linux/wait.h>
Signature · 1 line
2.10.2
Reviewed-by on v1 1/1 Applied
#1 lore raw
Quoted 4 lines · Corentin Labbe

tpm/st33zp24/st33zp24.c does not use any miscdevice so this patch remove this unnecessary inclusion.

Applied.

/Jarkko

Quoted 19 lines
---
 drivers/char/tpm/st33zp24/st33zp24.c | 1 -
 1 file changed, 1 deletion(-)
drivers/char/tpm/st33zp24/st33zp24.c +0 -1
index 6f060c7..e8e0f7c 100644
@@ -18,7 +18,6 @@
 
 #include <linux/module.h>
 #include <linux/fs.h>
-#include <linux/miscdevice.h>
 #include <linux/kernel.h>
 #include <linux/delay.h>
 #include <linux/wait.h>
Signature · 1 line
2.10.2

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot