]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 11:38:15 +0000 (12:38 +0100)
commit152419a688a3e9f1dd6a808120945a928cbfefad
tree452a22d8c99145225cf98f075d896794f69cdcd0
parent07c986b9bb6dacc430fd68ec064368fa5da0e4d5
staging: bcm2835-audio: use anonymous union in struct vc_audio_msg

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