projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
836f539
)
ASoC: sound/max98088: add missing __devexit marker
author
Arnaud Lacombe
<lacombar@gmail.com>
Tue, 26 Oct 2010 20:04:35 +0000
(16:04 -0400)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 27 Oct 2010 05:53:31 +0000
(07:53 +0200)
This fixes the following warning:
sound/soc/codecs/max98088.c:2054:12: warning: 'max98088_i2c_remove' defined but not used
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/max98088.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/max98088.c
b/sound/soc/codecs/max98088.c
index e7a40d16df905748c74fe385618c9b41c6d5ad44..bc22ee93a75daf3c852ce65f9767df519445251c 100644
(file)
--- a/
sound/soc/codecs/max98088.c
+++ b/
sound/soc/codecs/max98088.c
@@
-2051,7
+2051,7
@@
static int max98088_i2c_probe(struct i2c_client *i2c,
return ret;
}
-static int max98088_i2c_remove(struct i2c_client *client)
+static int
__devexit
max98088_i2c_remove(struct i2c_client *client)
{
snd_soc_unregister_codec(&client->dev);
kfree(i2c_get_clientdata(client));