]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ALSA] remove redundent assignment to the ac97 device structure
authorNicolas Pitre <nico@cam.org>
Fri, 16 Sep 2005 16:49:22 +0000 (18:49 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 7 Oct 2005 12:45:44 +0000 (14:45 +0200)
commit72e75de2df9a7116d0afbcd5810b2a8fd4bf7559
tree5e5039a81f91ca1b34688ea9c0f05bdf729e34f8
parent3a91e95969b84a56c7fef15ba25a5f6a17dd94b2
[ALSA] remove redundent assignment to the ac97 device structure

AC97 Codec
Don't use dev.platform_data to store a reference to the containing
ac97_t structure.  Such assignment is redundent since we can deduce the
ac97_t structure location from the contained device structure.  This
sets platform_data free for other purposes.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/ac97_codec.h
sound/pci/ac97/ac97_codec.c