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


Groups > linux.kernel > #1542822 > unrolled thread

[PATCH] ASoC: wm0010: Remove unneeded linux/miscdevice.h include

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

Back to article view | Back to linux.kernel


Contents

  [PATCH] ASoC: wm0010: Remove unneeded linux/miscdevice.h include Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-15 16:30 +0100
    Re: [PATCH] ASoC: wm0010: Remove unneeded linux/miscdevice.h include Richard Fitzgerald <rf@opensource.wolfsonmicro.com> - 2016-12-15 16:50 +0100

#1542822 — [PATCH] ASoC: wm0010: Remove unneeded linux/miscdevice.h include

FromCorentin Labbe <clabbe.montjoie@gmail.com>
Date2016-12-15 16:30 +0100
Subject[PATCH] ASoC: wm0010: Remove unneeded linux/miscdevice.h include
Message-ID<sOG8O-7rb-15@gated-at.bofh.it>
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>
-- 
2.10.2

[toc] | [next] | [standalone]


#1542839

FromRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Date2016-12-15 16:50 +0100
Message-ID<sOGsa-7xD-3@gated-at.bofh.it>
In reply to#1542822
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>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web