ALSA: seq: oss: Simplify with str_enabled_disabled()
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Jan 2025 15:56:36 +0000 (16:56 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Jan 2025 16:35:25 +0000 (17:35 +0100)
commita0f70af79d16cc3c630d66eb33cd8643399f312b
treec0a0f020ff6b6d142c00ae716f232f4ebf5a8cdc
parentb3344ddb78e16e629a397ab67fd20c9ec7662f75
ALSA: seq: oss: Simplify with str_enabled_disabled()

Use the standard helper str_enabled_disabled() to simplify the code.
Only code refactoring, no behavior change.

Link: https://patch.msgid.link/20250107155641.4435-7-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/oss/seq_oss_device.h
sound/core/seq/oss/seq_oss_init.c
sound/core/seq/oss/seq_oss_synth.c