2016-12-15 14:55:50

by Corentin Labbe

[permalink] [raw]
Subject: [PATCH] ds1302: remove unneeded linux/miscdevice.h include

drivers/char/ds1302.c does not use any miscdevice so the
inclusion of linux/miscdevice.h is unnecessary.
This patch remove this inclusion.

Signed-off-by: Corentin Labbe <[email protected]>
---
drivers/char/ds1302.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/char/ds1302.c b/drivers/char/ds1302.c
index 7d34b20..c614a56 100644
--- a/drivers/char/ds1302.c
+++ b/drivers/char/ds1302.c
@@ -17,7 +17,6 @@
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/module.h>
-#include <linux/miscdevice.h>
#include <linux/delay.h>
#include <linux/bcd.h>
#include <linux/mutex.h>
--
2.10.2