Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: soc-core: tidyup empty function

This patch makes empty function to 1 line.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87fsszt7dd.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuninori Morimoto and committed by
Mark Brown
41b1774f 01e90ee1

+7 -28
+7 -28
sound/soc/soc-core.c
··· 229 229 230 230 #else 231 231 232 - static inline void soc_init_component_debugfs( 233 - struct snd_soc_component *component) 234 - { 235 - } 236 - 237 - static inline void soc_cleanup_component_debugfs( 238 - struct snd_soc_component *component) 239 - { 240 - } 241 - 242 - static inline void soc_init_card_debugfs(struct snd_soc_card *card) 243 - { 244 - } 245 - 246 - static inline void soc_cleanup_card_debugfs(struct snd_soc_card *card) 247 - { 248 - } 249 - 250 - static inline void snd_soc_debugfs_init(void) 251 - { 252 - } 253 - 254 - static inline void snd_soc_debugfs_exit(void) 255 - { 256 - } 232 + static inline void soc_init_component_debugfs(struct snd_soc_component *component) { } 233 + static inline void soc_cleanup_component_debugfs(struct snd_soc_component *component) { } 234 + static inline void soc_init_card_debugfs(struct snd_soc_card *card) { } 235 + static inline void soc_cleanup_card_debugfs(struct snd_soc_card *card) { } 236 + static inline void snd_soc_debugfs_init(void) { } 237 + static inline void snd_soc_debugfs_exit(void) { } 257 238 258 239 #endif 259 240 ··· 720 739 #else 721 740 #define snd_soc_suspend NULL 722 741 #define snd_soc_resume NULL 723 - static inline void soc_resume_init(struct snd_soc_card *card) 724 - { 725 - } 742 + static inline void soc_resume_init(struct snd_soc_card *card) { } 726 743 #endif 727 744 728 745 static struct device_node