lkml.org 
[lkml]   [2016]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] ds1302: remove unneeded linux/miscdevice.h include
Date
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
\
 
 \ /
  Last update: 2016-12-15 15:55    [W:0.036 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site