diff mbox

hwmon: sch56xx: Remove unneeded linux/miscdevice.h include

Message ID 20161215180814.24060-1-clabbe.montjoie@gmail.com (mailing list archive)
State Accepted
Headers show

Commit Message

Corentin Labbe Dec. 15, 2016, 6:08 p.m. UTC
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(-)

Comments

Guenter Roeck Dec. 16, 2016, 3:35 a.m. UTC | #1
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"
>

--
To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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"