diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-20 14:08:44 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-05-23 14:36:45 +0200 |
commit | 3cf981484a002fd02c410741d30b234227f89568 (patch) | |
tree | 4e2e82d528f94ce80fde3f278b36ff9398f65d2a /sound/sh | |
parent | 2bc594a2764983532887c2c606172bd262c60644 (diff) | |
download | blackbird-op-linux-3cf981484a002fd02c410741d30b234227f89568.tar.gz blackbird-op-linux-3cf981484a002fd02c410741d30b234227f89568.zip |
ALSA: sh_dac_audio: Remove redundant platform_set_drvdata()
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Rafael Ignacio Zurita <rizurita@yahoo.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sh')
-rw-r--r-- | sound/sh/sh_dac_audio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/sh/sh_dac_audio.c b/sound/sh/sh_dac_audio.c index e68c4fc91a03..7c9422c4fc0f 100644 --- a/sound/sh/sh_dac_audio.c +++ b/sound/sh/sh_dac_audio.c @@ -290,8 +290,6 @@ static int snd_sh_dac_pcm(struct snd_sh_dac *chip, int device) static int snd_sh_dac_remove(struct platform_device *devptr) { snd_card_free(platform_get_drvdata(devptr)); - platform_set_drvdata(devptr, NULL); - return 0; } |