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


Groups > linux.kernel > #1542955 > unrolled thread

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

Started byCorentin Labbe <clabbe.montjoie@gmail.com>
First post2016-12-15 19:10 +0100
Last post2016-12-16 04:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] watchdog: mpc8xxx: Remove unneeded linux/miscdevice.h include Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-15 19:10 +0100
    Re: [PATCH] watchdog: mpc8xxx: Remove unneeded linux/miscdevice.h  include Guenter Roeck <linux@roeck-us.net> - 2016-12-16 04:40 +0100

#1542955 — [PATCH] watchdog: mpc8xxx: Remove unneeded linux/miscdevice.h include

FromCorentin Labbe <clabbe.montjoie@gmail.com>
Date2016-12-15 19:10 +0100
Subject[PATCH] watchdog: mpc8xxx: Remove unneeded linux/miscdevice.h include
Message-ID<sOIDE-CX-7@gated-at.bofh.it>
watchdog/mpc8xxx_wdt.c does not use any miscdevice so this patch remove
this unnecessary inclusion.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
---
 drivers/watchdog/mpc8xxx_wdt.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c
index 5f2273a..366e5c7 100644
--- a/drivers/watchdog/mpc8xxx_wdt.c
+++ b/drivers/watchdog/mpc8xxx_wdt.c
@@ -23,7 +23,6 @@
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/timer.h>
-#include <linux/miscdevice.h>
 #include <linux/of_address.h>
 #include <linux/of_platform.h>
 #include <linux/module.h>
-- 
2.10.2

[toc] | [next] | [standalone]


#1543195 — Re: [PATCH] watchdog: mpc8xxx: Remove unneeded linux/miscdevice.h include

FromGuenter Roeck <linux@roeck-us.net>
Date2016-12-16 04:40 +0100
SubjectRe: [PATCH] watchdog: mpc8xxx: Remove unneeded linux/miscdevice.h include
Message-ID<sORxg-6dN-7@gated-at.bofh.it>
In reply to#1542955
On 12/15/2016 10:03 AM, Corentin Labbe wrote:
> watchdog/mpc8xxx_wdt.c does not use any miscdevice so this patch remove
> this unnecessary inclusion.
>
> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>  drivers/watchdog/mpc8xxx_wdt.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c
> index 5f2273a..366e5c7 100644
> --- a/drivers/watchdog/mpc8xxx_wdt.c
> +++ b/drivers/watchdog/mpc8xxx_wdt.c
> @@ -23,7 +23,6 @@
>  #include <linux/init.h>
>  #include <linux/kernel.h>
>  #include <linux/timer.h>
> -#include <linux/miscdevice.h>
>  #include <linux/of_address.h>
>  #include <linux/of_platform.h>
>  #include <linux/module.h>
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web