From 7153ad834f72da49eadf8b5e66d593f88514be7c Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 3 Dec 2018 04:37:23 -0700 Subject: dm: sound: Drop codec_type This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass --- include/sound.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include/sound.h') diff --git a/include/sound.h b/include/sound.h index 149e12dbc6..c4ac3193fe 100644 --- a/include/sound.h +++ b/include/sound.h @@ -7,14 +7,6 @@ #ifndef __SOUND_H__ #define __SOUND_H__ -/* sound codec enum */ -enum sound_codec { - CODEC_WM_8994, - CODEC_WM_8995, - CODEC_MAX_98095, - CODEC_MAX -}; - /* sound codec enum */ enum sound_compat { AUDIO_COMPAT_SPI, @@ -25,7 +17,6 @@ enum sound_compat { struct sound_codec_info { int i2c_bus; int i2c_dev_addr; - enum sound_codec codec_type; }; /* -- cgit v1.2.3