Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
735fe4cf
Commit
735fe4cf
authored
Jan 12, 2010
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASoC: Add missing __devexit and __devinit annotations
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
03e7a35c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
sound/soc/codecs/da7210.c
sound/soc/codecs/da7210.c
+3
-3
sound/soc/codecs/tlv320dac33.c
sound/soc/codecs/tlv320dac33.c
+3
-3
sound/soc/codecs/tpa6130a2.c
sound/soc/codecs/tpa6130a2.c
+3
-3
No files found.
sound/soc/codecs/da7210.c
View file @
735fe4cf
...
@@ -471,8 +471,8 @@ static int da7210_init(struct da7210_priv *da7210)
...
@@ -471,8 +471,8 @@ static int da7210_init(struct da7210_priv *da7210)
}
}
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
static
int
da7210_i2c_probe
(
struct
i2c_client
*
i2c
,
static
int
__devinit
da7210_i2c_probe
(
struct
i2c_client
*
i2c
,
const
struct
i2c_device_id
*
id
)
const
struct
i2c_device_id
*
id
)
{
{
struct
da7210_priv
*
da7210
;
struct
da7210_priv
*
da7210
;
struct
snd_soc_codec
*
codec
;
struct
snd_soc_codec
*
codec
;
...
@@ -495,7 +495,7 @@ static int da7210_i2c_probe(struct i2c_client *i2c,
...
@@ -495,7 +495,7 @@ static int da7210_i2c_probe(struct i2c_client *i2c,
return
ret
;
return
ret
;
}
}
static
int
da7210_i2c_remove
(
struct
i2c_client
*
client
)
static
int
__devexit
da7210_i2c_remove
(
struct
i2c_client
*
client
)
{
{
struct
da7210_priv
*
da7210
=
i2c_get_clientdata
(
client
);
struct
da7210_priv
*
da7210
=
i2c_get_clientdata
(
client
);
...
...
sound/soc/codecs/tlv320dac33.c
View file @
735fe4cf
...
@@ -1191,8 +1191,8 @@ struct snd_soc_dai dac33_dai = {
...
@@ -1191,8 +1191,8 @@ struct snd_soc_dai dac33_dai = {
};
};
EXPORT_SYMBOL_GPL
(
dac33_dai
);
EXPORT_SYMBOL_GPL
(
dac33_dai
);
static
int
dac33_i2c_probe
(
struct
i2c_client
*
client
,
static
int
__devinit
dac33_i2c_probe
(
struct
i2c_client
*
client
,
const
struct
i2c_device_id
*
id
)
const
struct
i2c_device_id
*
id
)
{
{
struct
tlv320dac33_platform_data
*
pdata
;
struct
tlv320dac33_platform_data
*
pdata
;
struct
tlv320dac33_priv
*
dac33
;
struct
tlv320dac33_priv
*
dac33
;
...
@@ -1345,7 +1345,7 @@ static int dac33_i2c_probe(struct i2c_client *client,
...
@@ -1345,7 +1345,7 @@ static int dac33_i2c_probe(struct i2c_client *client,
return
ret
;
return
ret
;
}
}
static
int
dac33_i2c_remove
(
struct
i2c_client
*
client
)
static
int
__devexit
dac33_i2c_remove
(
struct
i2c_client
*
client
)
{
{
struct
tlv320dac33_priv
*
dac33
;
struct
tlv320dac33_priv
*
dac33
;
...
...
sound/soc/codecs/tpa6130a2.c
View file @
735fe4cf
...
@@ -379,8 +379,8 @@ int tpa6130a2_add_controls(struct snd_soc_codec *codec)
...
@@ -379,8 +379,8 @@ int tpa6130a2_add_controls(struct snd_soc_codec *codec)
}
}
EXPORT_SYMBOL_GPL
(
tpa6130a2_add_controls
);
EXPORT_SYMBOL_GPL
(
tpa6130a2_add_controls
);
static
int
tpa6130a2_probe
(
struct
i2c_client
*
client
,
static
int
__devinit
tpa6130a2_probe
(
struct
i2c_client
*
client
,
const
struct
i2c_device_id
*
id
)
const
struct
i2c_device_id
*
id
)
{
{
struct
device
*
dev
;
struct
device
*
dev
;
struct
tpa6130a2_data
*
data
;
struct
tpa6130a2_data
*
data
;
...
@@ -479,7 +479,7 @@ static int tpa6130a2_probe(struct i2c_client *client,
...
@@ -479,7 +479,7 @@ static int tpa6130a2_probe(struct i2c_client *client,
return
ret
;
return
ret
;
}
}
static
int
tpa6130a2_remove
(
struct
i2c_client
*
client
)
static
int
__devexit
tpa6130a2_remove
(
struct
i2c_client
*
client
)
{
{
struct
tpa6130a2_data
*
data
=
i2c_get_clientdata
(
client
);
struct
tpa6130a2_data
*
data
=
i2c_get_clientdata
(
client
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment