Clean up an unnecessary space in a conditional statement and move
EXPORT_SYMBOL_GPL(snd_ac97_reset) and EXPORT_SYMBOL(ac97_bus_type)
to immediately follow their respective definitions.
This complies with the Linux kernel coding style convention which
prefers exports to be placed next to the exported symbol for better
code locality and readability.
Signed-off-by: Lucas Poupeau <lucasp.linux@gmail.com>
Link: https://patch.msgid.link/20260504153831.18381-1-lucasp.linux@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
if (snd_ac97_check_id(ac97, id, id_mask))
return 0;
-
return -ENODEV;
}
EXPORT_SYMBOL_GPL(snd_ac97_reset);
const struct bus_type ac97_bus_type = {
.name = "ac97",
};
+EXPORT_SYMBOL(ac97_bus_type);
static int __init ac97_bus_init(void)
{
module_exit(ac97_bus_exit);
-EXPORT_SYMBOL(ac97_bus_type);
-
MODULE_DESCRIPTION("Legacy AC97 bus interface");
MODULE_LICENSE("GPL");