All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hwmon: sch56xx: Remove unneeded linux/miscdevice.h include
@ 2016-12-15 18:08 Corentin Labbe
  2016-12-16  3:35 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Corentin Labbe @ 2016-12-15 18:08 UTC (permalink / raw)
  To: jdelvare, linux, linux-hwmon; +Cc: linux-kernel, Corentin Labbe

drivers/hwmon/sch56xx-common.c does not contain any miscdevice so the
inclusion of linux/miscdevice.h is uncessary.

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

diff --git a/drivers/hwmon/sch56xx-common.c b/drivers/hwmon/sch56xx-common.c
index 68c350c..bda3d52 100644
--- a/drivers/hwmon/sch56xx-common.c
+++ b/drivers/hwmon/sch56xx-common.c
@@ -28,7 +28,6 @@
 #include <linux/delay.h>
 #include <linux/fs.h>
 #include <linux/watchdog.h>
-#include <linux/miscdevice.h>
 #include <linux/uaccess.h>
 #include <linux/slab.h>
 #include "sch56xx-common.h"
-- 
2.10.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] hwmon: sch56xx: Remove unneeded linux/miscdevice.h include
  2016-12-15 18:08 [PATCH] hwmon: sch56xx: Remove unneeded linux/miscdevice.h include Corentin Labbe
@ 2016-12-16  3:35 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2016-12-16  3:35 UTC (permalink / raw)
  To: Corentin Labbe, jdelvare, linux-hwmon; +Cc: linux-kernel

On 12/15/2016 10:08 AM, Corentin Labbe wrote:
> drivers/hwmon/sch56xx-common.c does not contain any miscdevice so the
> inclusion of linux/miscdevice.h is uncessary.
>
> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>

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

> ---
>  drivers/hwmon/sch56xx-common.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/hwmon/sch56xx-common.c b/drivers/hwmon/sch56xx-common.c
> index 68c350c..bda3d52 100644
> --- a/drivers/hwmon/sch56xx-common.c
> +++ b/drivers/hwmon/sch56xx-common.c
> @@ -28,7 +28,6 @@
>  #include <linux/delay.h>
>  #include <linux/fs.h>
>  #include <linux/watchdog.h>
> -#include <linux/miscdevice.h>
>  #include <linux/uaccess.h>
>  #include <linux/slab.h>
>  #include "sch56xx-common.h"
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-16  3:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-15 18:08 [PATCH] hwmon: sch56xx: Remove unneeded linux/miscdevice.h include Corentin Labbe
2016-12-16  3:35 ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.