lkml.org 
[lkml]   [2015]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC PATCH 02/14] ASoC: qcom: remove unnecessary header files
    Date
    This patch removes unnecessary header files in lpass cpu and platform
    code.

    Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    ---
    sound/soc/qcom/lpass-cpu.c | 6 +-----
    sound/soc/qcom/lpass-platform.c | 6 ------
    2 files changed, 1 insertion(+), 11 deletions(-)

    diff --git a/sound/soc/qcom/lpass-cpu.c b/sound/soc/qcom/lpass-cpu.c
    index 1e284c6..4084295 100644
    --- a/sound/soc/qcom/lpass-cpu.c
    +++ b/sound/soc/qcom/lpass-cpu.c
    @@ -14,12 +14,7 @@
    */

    #include <linux/clk.h>
    -#include <linux/compiler.h>
    -#include <linux/device.h>
    -#include <linux/err.h>
    -#include <linux/ioport.h>
    #include <linux/kernel.h>
    -#include <linux/mod_devicetable.h>
    #include <linux/module.h>
    #include <linux/of.h>
    #include <linux/platform_device.h>
    @@ -28,6 +23,7 @@
    #include <linux/regmap.h>
    #include <sound/soc.h>
    #include <sound/soc-dai.h>
    +
    #include "lpass-lpaif-ipq806x.h"
    #include "lpass.h"

    diff --git a/sound/soc/qcom/lpass-platform.c b/sound/soc/qcom/lpass-platform.c
    index 2fa6280..ffc0928 100644
    --- a/sound/soc/qcom/lpass-platform.c
    +++ b/sound/soc/qcom/lpass-platform.c
    @@ -13,17 +13,11 @@
    * lpass-platform.c -- ALSA SoC platform driver for QTi LPASS
    */

    -#include <linux/compiler.h>
    -#include <linux/device.h>
    #include <linux/dma-mapping.h>
    -#include <linux/err.h>
    #include <linux/export.h>
    #include <linux/kernel.h>
    #include <linux/module.h>
    -#include <linux/io.h>
    #include <linux/platform_device.h>
    -#include <sound/memalloc.h>
    -#include <sound/pcm.h>
    #include <sound/pcm_params.h>
    #include <linux/regmap.h>
    #include <sound/soc.h>
    --
    1.9.1


    \
     
     \ /
      Last update: 2015-04-30 19:41    [W:4.538 / U:1.552 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site