Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
c6f29811
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c6f29811
编写于
2月 18, 2009
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ASoC: Add device init/exit annotations to new-style Wolfson CODEC drivers
Signed-off-by:
N
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
上级
519cf2df
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
13 addition
and
13 deletion
+13
-13
sound/soc/codecs/wm8350.c
sound/soc/codecs/wm8350.c
+1
-1
sound/soc/codecs/wm8731.c
sound/soc/codecs/wm8731.c
+4
-4
sound/soc/codecs/wm8900.c
sound/soc/codecs/wm8900.c
+4
-4
sound/soc/codecs/wm8903.c
sound/soc/codecs/wm8903.c
+4
-4
未找到文件。
sound/soc/codecs/wm8350.c
浏览文件 @
c6f29811
...
...
@@ -1574,7 +1574,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8350 = {
};
EXPORT_SYMBOL_GPL
(
soc_codec_dev_wm8350
);
static
int
wm8350_codec_probe
(
struct
platform_device
*
pdev
)
static
__devinit
int
wm8350_codec_probe
(
struct
platform_device
*
pdev
)
{
struct
wm8350
*
wm8350
=
platform_get_drvdata
(
pdev
);
struct
wm8350_data
*
priv
;
...
...
sound/soc/codecs/wm8731.c
浏览文件 @
c6f29811
...
...
@@ -686,8 +686,8 @@ static struct spi_driver wm8731_spi_driver = {
#endif
/* CONFIG_SPI_MASTER */
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
static
int
wm8731_i2c_probe
(
struct
i2c_client
*
i2c
,
const
struct
i2c_device_id
*
id
)
static
__devinit
int
wm8731_i2c_probe
(
struct
i2c_client
*
i2c
,
const
struct
i2c_device_id
*
id
)
{
struct
wm8731_priv
*
wm8731
;
struct
snd_soc_codec
*
codec
;
...
...
@@ -707,7 +707,7 @@ static int wm8731_i2c_probe(struct i2c_client *i2c,
return
wm8731_register
(
wm8731
);
}
static
int
wm8731_i2c_remove
(
struct
i2c_client
*
client
)
static
__devexit
int
wm8731_i2c_remove
(
struct
i2c_client
*
client
)
{
struct
wm8731_priv
*
wm8731
=
i2c_get_clientdata
(
client
);
wm8731_unregister
(
wm8731
);
...
...
@@ -726,7 +726,7 @@ static struct i2c_driver wm8731_i2c_driver = {
.
owner
=
THIS_MODULE
,
},
.
probe
=
wm8731_i2c_probe
,
.
remove
=
wm8731_i2c_remove
,
.
remove
=
__devexit_p
(
wm8731_i2c_remove
)
,
.
id_table
=
wm8731_i2c_id
,
};
#endif
...
...
sound/soc/codecs/wm8900.c
浏览文件 @
c6f29811
...
...
@@ -1272,8 +1272,8 @@ static int wm8900_resume(struct platform_device *pdev)
static
struct
snd_soc_codec
*
wm8900_codec
;
static
int
wm8900_i2c_probe
(
struct
i2c_client
*
i2c
,
const
struct
i2c_device_id
*
id
)
static
__devinit
int
wm8900_i2c_probe
(
struct
i2c_client
*
i2c
,
const
struct
i2c_device_id
*
id
)
{
struct
wm8900_priv
*
wm8900
;
struct
snd_soc_codec
*
codec
;
...
...
@@ -1372,7 +1372,7 @@ static int wm8900_i2c_probe(struct i2c_client *i2c,
return
ret
;
}
static
int
wm8900_i2c_remove
(
struct
i2c_client
*
client
)
static
__devexit
int
wm8900_i2c_remove
(
struct
i2c_client
*
client
)
{
snd_soc_unregister_dai
(
&
wm8900_dai
);
snd_soc_unregister_codec
(
wm8900_codec
);
...
...
@@ -1398,7 +1398,7 @@ static struct i2c_driver wm8900_i2c_driver = {
.
owner
=
THIS_MODULE
,
},
.
probe
=
wm8900_i2c_probe
,
.
remove
=
wm8900_i2c_remove
,
.
remove
=
__devexit_p
(
wm8900_i2c_remove
)
,
.
id_table
=
wm8900_i2c_id
,
};
...
...
sound/soc/codecs/wm8903.c
浏览文件 @
c6f29811
...
...
@@ -1562,8 +1562,8 @@ static int wm8903_resume(struct platform_device *pdev)
static
struct
snd_soc_codec
*
wm8903_codec
;
static
int
wm8903_i2c_probe
(
struct
i2c_client
*
i2c
,
const
struct
i2c_device_id
*
id
)
static
__devinit
int
wm8903_i2c_probe
(
struct
i2c_client
*
i2c
,
const
struct
i2c_device_id
*
id
)
{
struct
wm8903_priv
*
wm8903
;
struct
snd_soc_codec
*
codec
;
...
...
@@ -1669,7 +1669,7 @@ static int wm8903_i2c_probe(struct i2c_client *i2c,
return
ret
;
}
static
int
wm8903_i2c_remove
(
struct
i2c_client
*
client
)
static
__devexit
int
wm8903_i2c_remove
(
struct
i2c_client
*
client
)
{
struct
snd_soc_codec
*
codec
=
i2c_get_clientdata
(
client
);
...
...
@@ -1699,7 +1699,7 @@ static struct i2c_driver wm8903_i2c_driver = {
.
owner
=
THIS_MODULE
,
},
.
probe
=
wm8903_i2c_probe
,
.
remove
=
wm8903_i2c_remove
,
.
remove
=
__devexit_p
(
wm8903_i2c_remove
)
,
.
id_table
=
wm8903_i2c_id
,
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录