]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: usx2y: Coding style fixes
authorTakashi Iwai <tiwai@suse.de>
Mon, 17 May 2021 13:15:37 +0000 (15:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 May 2021 14:03:58 +0000 (16:03 +0200)
commita829dd5b3840fd9a24608ed73eb21ba239ae5334
treedb6c4cb69f1e5163059eb236594cf13d35353f26
parent4c0a58ef36f3de1be0d1c8565ca854bcabd37e2b
ALSA: usx2y: Coding style fixes

This patch fixes various trivial coding-style issues in usx2y code,
such as:
* the assginments in if condition
* comparison order with constants
* NULL / zero checks
* unsigned -> unsigned int
* addition of braces in control blocks
* debug print with function names
* move local variables in block into function head
* reduction of too nested indentations

No functional changes.

Link: https://lore.kernel.org/r/20210517131545.27252-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usx2y/us122l.c
sound/usb/usx2y/us122l.h
sound/usb/usx2y/usX2Yhwdep.c
sound/usb/usx2y/usb_stream.c
sound/usb/usx2y/usb_stream.h
sound/usb/usx2y/usbusx2y.c
sound/usb/usx2y/usbusx2y.h
sound/usb/usx2y/usbusx2yaudio.c
sound/usb/usx2y/usx2yhwdeppcm.c