summaryrefslogtreecommitdiff
path: root/sound/usb/usx2y/us122l.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-05-17 15:15:37 +0200
committerTakashi Iwai <tiwai@suse.de>2021-05-17 16:03:58 +0200
commita829dd5b3840fd9a24608ed73eb21ba239ae5334 (patch)
treedb6c4cb69f1e5163059eb236594cf13d35353f26 /sound/usb/usx2y/us122l.h
parent4c0a58ef36f3de1be0d1c8565ca854bcabd37e2b (diff)
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>
Diffstat (limited to 'sound/usb/usx2y/us122l.h')
-rw-r--r--sound/usb/usx2y/us122l.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/usx2y/us122l.h b/sound/usb/usx2y/us122l.h
index 34bea99d343c..c32ae5e981e9 100644
--- a/sound/usb/usx2y/us122l.h
+++ b/sound/usb/usx2y/us122l.h
@@ -11,7 +11,7 @@ struct us122l {
struct mutex mutex;
struct file *first;
- unsigned second_periods_polled;
+ unsigned int second_periods_polled;
struct file *master;
struct file *slave;
struct list_head midi_list;