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 <sjg@chromium.org>
This commit is contained in:
Simon Glass 2018-12-03 04:37:23 -07:00
parent ccf0425e32
commit 7153ad834f
3 changed files with 0 additions and 33 deletions

View file

@ -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;
};
/*