Skip to content

Commit

Permalink
ALSA: sh: aica: Remove redundant platform_set_drvdata()
Browse files Browse the repository at this point in the history
Commit 0998d06 (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: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Sachin Kamat authored and tiwai committed May 23, 2013
1 parent 464ede3 commit 2bc594a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/sh/aica.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,6 @@ static int snd_aica_remove(struct platform_device *devptr)
return -ENODEV;
snd_card_free(dreamcastcard->card);
kfree(dreamcastcard);
platform_set_drvdata(devptr, NULL);
return 0;
}

Expand Down

0 comments on commit 2bc594a

Please sign in to comment.