Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1542802 > unrolled thread

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

Started byCorentin Labbe <clabbe.montjoie@gmail.com>
First post2016-12-15 16:00 +0100
Last post2016-12-15 16:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] ds1302: remove unneeded linux/miscdevice.h include Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-15 16:00 +0100

#1542802 — [PATCH] ds1302: remove unneeded linux/miscdevice.h include

FromCorentin Labbe <clabbe.montjoie@gmail.com>
Date2016-12-15 16:00 +0100
Subject[PATCH] ds1302: remove unneeded linux/miscdevice.h include
Message-ID<sOFFM-72d-19@gated-at.bofh.it>
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 <clabbe.montjoie@gmail.com>
---
 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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web