提交 679acec1 编写于 作者: M Mark Brown

ASoC: Remove driver versioning from ak4642

It's never been updated so it can't be that useful and it makes the
driver needlessly chatty.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 beda5bf5
...@@ -32,8 +32,6 @@ ...@@ -32,8 +32,6 @@
#include <sound/initval.h> #include <sound/initval.h>
#include <sound/tlv.h> #include <sound/tlv.h>
#define AK4642_VERSION "0.0.1"
#define PW_MGMT1 0x00 #define PW_MGMT1 0x00
#define PW_MGMT2 0x01 #define PW_MGMT2 0x01
#define SG_SL1 0x02 #define SG_SL1 0x02
...@@ -473,8 +471,6 @@ static int ak4642_probe(struct snd_soc_codec *codec) ...@@ -473,8 +471,6 @@ static int ak4642_probe(struct snd_soc_codec *codec)
struct ak4642_priv *ak4642 = snd_soc_codec_get_drvdata(codec); struct ak4642_priv *ak4642 = snd_soc_codec_get_drvdata(codec);
int ret; int ret;
dev_info(codec->dev, "AK4642 Audio Codec %s", AK4642_VERSION);
ret = snd_soc_codec_set_cache_io(codec, 8, 8, ak4642->control_type); ret = snd_soc_codec_set_cache_io(codec, 8, 8, ak4642->control_type);
if (ret < 0) { if (ret < 0) {
dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册