1 From abed6180470d4004c4578a7a28b846b3517149f9 Mon Sep 17 00:00:00 2001
2 From: Takashi Iwai <tiwai@suse.de>
3 Date: Tue, 4 Sep 2018 17:58:52 +0200
4 Subject: [PATCH 459/725] staging: bcm2835-audio: Remove unnecessary header
7 commit 7e46fff5f19ce2b8a9891e4c08631c64d06e9e17 upstream.
9 Yet a few header files are included unnecessarily. Drop them.
11 Also remove trivial comments.
13 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17 .../bcm2835-audio/bcm2835-vchiq.c | 19 -------------------
18 .../vc04_services/bcm2835-audio/bcm2835.h | 6 ------
19 2 files changed, 25 deletions(-)
21 --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
22 +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
24 // SPDX-License-Identifier: GPL-2.0
25 /* Copyright 2011 Broadcom Corporation. All rights reserved. */
27 -#include <linux/device.h>
28 -#include <sound/core.h>
29 -#include <sound/initval.h>
30 -#include <sound/pcm.h>
31 -#include <linux/io.h>
32 -#include <linux/interrupt.h>
33 -#include <linux/fs.h>
34 -#include <linux/file.h>
35 -#include <linux/mm.h>
36 -#include <linux/syscalls.h>
37 -#include <linux/uaccess.h>
38 #include <linux/slab.h>
39 -#include <linux/delay.h>
40 -#include <linux/atomic.h>
41 #include <linux/module.h>
42 #include <linux/completion.h>
46 -/* ---- Include Files -------------------------------------------------------- */
48 #include "vc_vchi_audioserv_defs.h"
50 -/* ---- Private Constants and Types ------------------------------------------ */
52 struct bcm2835_audio_instance {
54 VCHI_SERVICE_HANDLE_T vchi_handle;
55 --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.h
56 +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.h
58 #define __SOUND_ARM_BCM2835_H
60 #include <linux/device.h>
61 -#include <linux/list.h>
62 -#include <linux/interrupt.h>
63 #include <linux/wait.h>
64 #include <sound/core.h>
65 -#include <sound/initval.h>
66 #include <sound/pcm.h>
67 -#include <sound/pcm_params.h>
68 #include <sound/pcm-indirect.h>
69 -#include <linux/workqueue.h>
71 #include "interface/vchi/vchi.h"
73 #define MAX_SUBSTREAMS (8)