staging: bcm2835-audio: use anonymous union in struct vc_audio_msg
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Wed, 17 Oct 2018 19:01:53 +0000 (21:01 +0200)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:31 +0000 (00:08 +0100)
commit832a83bebabfdcf19edd5377f39b2e489e58a6de
tree99411b1542c564d26289743374045a5fdc0aa7e7
parenta46e54ff6cff679ca7f9a5c407d1b89f7ffb3fb0
staging: bcm2835-audio: use anonymous union in struct vc_audio_msg

commit 9c2eaf7da855d314a369d48b9cbf8ac80717a1d0 upstream.

In this case explicitly naming the union doesn't help overall code
comprehension and clutters it.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
drivers/staging/vc04_services/bcm2835-audio/vc_vchi_audioserv_defs.h