Re: [PATCH] watchdog: octeon: Remove unneeded linux/miscdevice.h include

From: Guenter Roeck
Date: Thu Dec 15 2016 - 22:35:23 EST


On 12/15/2016 09:49 AM, Corentin Labbe wrote:
watchdog/octeon-wdt-main.c does not use any miscdevice so this patch
remove this unnecessary inclusion.

Signed-off-by: Corentin Labbe <clabbe.montjoie@xxxxxxxxx>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>

---
drivers/watchdog/octeon-wdt-main.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/watchdog/octeon-wdt-main.c b/drivers/watchdog/octeon-wdt-main.c
index 529182d..b5cdceb 100644
--- a/drivers/watchdog/octeon-wdt-main.c
+++ b/drivers/watchdog/octeon-wdt-main.c
@@ -56,7 +56,6 @@

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

-#include <linux/miscdevice.h>
#include <linux/interrupt.h>
#include <linux/watchdog.h>
#include <linux/cpumask.h>