summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-08-13 10:12:30 +0200
committerTakashi Iwai <tiwai@suse.de>2021-08-14 08:39:38 +0200
commit327b34f2a97d72c41d4854d61336c9ae6ffe4a44 (patch)
treeee822f5ff287ae6456cda0e2d118c66f29cafda1 /include/sound
parentb98444ed597dc42be620bcac241c93da50933e69 (diff)
downloadlinux-327b34f2a97d72c41d4854d61336c9ae6ffe4a44.tar.gz
linux-327b34f2a97d72c41d4854d61336c9ae6ffe4a44.tar.bz2
linux-327b34f2a97d72c41d4854d61336c9ae6ffe4a44.zip
ALSA: hda: Nuke unused reboot_notify callback
As reboot_notify callback is no longer used by the codec core, let's get rid of the unused code. Conexant codec needs a slight code change as it used to call the reboot_notify at the codec removal, too. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214045 Link: https://lore.kernel.org/r/20210813081230.4268-4-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/hda_codec.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/hda_codec.h b/include/sound/hda_codec.h
index 2e8d51937acd..01570dbda503 100644
--- a/include/sound/hda_codec.h
+++ b/include/sound/hda_codec.h
@@ -114,7 +114,6 @@ struct hda_codec_ops {
int (*resume)(struct hda_codec *codec);
int (*check_power_status)(struct hda_codec *codec, hda_nid_t nid);
#endif
- void (*reboot_notify)(struct hda_codec *codec);
void (*stream_pm)(struct hda_codec *codec, hda_nid_t nid, bool on);
};