diff mbox

ASoC: wm0010: Remove unneeded linux/miscdevice.h include

Message ID 20161215151943.5076-1-clabbe.montjoie@gmail.com (mailing list archive)
State Accepted
Commit 98856d5ad89c4bb13544b1f1367a4d8355296a2d
Headers show

Commit Message

Corentin Labbe Dec. 15, 2016, 3:19 p.m. UTC
sound/soc/codecs/wm0010.c does not use any miscdevice so this patch
remove this unnecessary inclusion.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
---
 sound/soc/codecs/wm0010.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Richard Fitzgerald Dec. 15, 2016, 3:45 p.m. UTC | #1
On Thu, 2016-12-15 at 16:19 +0100, Corentin Labbe wrote:
> sound/soc/codecs/wm0010.c does not use any miscdevice so this patch
> remove this unnecessary inclusion.
> 
> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
> ---
>  sound/soc/codecs/wm0010.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
> index 0eb5dcf..4f5f571 100644
> --- a/sound/soc/codecs/wm0010.c
> +++ b/sound/soc/codecs/wm0010.c
> @@ -21,7 +21,6 @@
>  #include <linux/firmware.h>
>  #include <linux/delay.h>
>  #include <linux/fs.h>
> -#include <linux/miscdevice.h>
>  #include <linux/gpio.h>
>  #include <linux/regulator/consumer.h>
>  #include <linux/mutex.h>
Looks ok to me.
Acked-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
diff mbox

Patch

diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index 0eb5dcf..4f5f571 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
@@ -21,7 +21,6 @@ 
 #include <linux/firmware.h>
 #include <linux/delay.h>
 #include <linux/fs.h>
-#include <linux/miscdevice.h>
 #include <linux/gpio.h>
 #include <linux/regulator/consumer.h>
 #include <linux/mutex.h>