Skip to contentSkip to conversation

soc: qcom: qdsp6: remove duplicated include from q6adm.c

PATCH In review zhong jiang 2 participants 3 messages Sep 21, 2018 – Sep 25, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 soc: qcom: qdsp6: remove duplicated include from q6adm.c

We include wait.h twice in q6adm.c. it is unnecessary. hence remove it. Further, order the include files as alphabet.

---
 sound/soc/qcom/qdsp6/q6adm.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
sound/soc/qcom/qdsp6/q6adm.c +8 -9
index 932c3eb..da24251 100644
@@ -2,25 +2,24 @@
 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
 // Copyright (c) 2018, Linaro Limited
 
-#include <linux/slab.h>
-#include <linux/wait.h>
-#include <linux/kernel.h>
 #include <linux/device.h>
-#include <linux/module.h>
-#include <linux/sched.h>
 #include <linux/jiffies.h>
+#include <linux/kernel.h>
+#include <linux/kref.h>
+#include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_platform.h>
-#include <linux/kref.h>
-#include <linux/wait.h>
-#include <linux/soc/qcom/apr.h>
 #include <linux/platform_device.h>
+#include <linux/sched.h>
+#include <linux/slab.h>
+#include <linux/soc/qcom/apr.h>
+#include <linux/wait.h>
 #include <sound/asound.h>
 #include "q6adm.h"
 #include "q6afe.h"
 #include "q6core.h"
-#include "q6dsp-errno.h"
 #include "q6dsp-common.h"
+#include "q6dsp-errno.h"
 
 #define ADM_CMD_DEVICE_OPEN_V5		0x00010326
 #define ADM_CMDRSP_DEVICE_OPEN_V5	0x00010329
Signature · 1 line
1.7.12.4
maintainer
#1 lore raw
Quoted 2 lines · zhong jiang

We include wait.h twice in q6adm.c. it is unnecessary. hence remove it. Further, order the include files as alphabet.

Please use subject lines matching the style for the subsystem. This makes it easier for people to identify relevant patches.

#2 lore raw
Quoted 5 lines · Mark Brown
Quoted 2 lines · zhong jiang

We include wait.h twice in q6adm.c. it is unnecessary. hence remove it. Further, order the include files as alphabet.

Please use subject lines matching the style for the subsystem. This makes it easier for people to identify relevant patches.

Get it . Will notice . thanks

Sincerely,
zhong jiang