diff options
author | Joe Perches <joe@perches.com> | 2010-09-04 21:52:54 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-09-07 02:05:59 -0400 |
commit | 9fe856e47e1751204faf3d604c6d20ab24bd3b93 (patch) | |
tree | 744a735096a76caad69d73884893c897b0ce3219 /sound/i2c | |
parent | 831853c87fb7234a8650484d30993242ea9ad6d3 (diff) |
sound: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/i2c')
-rw-r--r-- | sound/i2c/other/ak4xxx-adda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/i2c/other/ak4xxx-adda.c b/sound/i2c/other/ak4xxx-adda.c index 1adb8a3c2b62..ebab6c7aaa81 100644 --- a/sound/i2c/other/ak4xxx-adda.c +++ b/sound/i2c/other/ak4xxx-adda.c | |||
@@ -878,7 +878,7 @@ static int build_deemphasis(struct snd_akm4xxx *ak, int num_emphs) | |||
878 | static void proc_regs_read(struct snd_info_entry *entry, | 878 | static void proc_regs_read(struct snd_info_entry *entry, |
879 | struct snd_info_buffer *buffer) | 879 | struct snd_info_buffer *buffer) |
880 | { | 880 | { |
881 | struct snd_akm4xxx *ak = (struct snd_akm4xxx *)entry->private_data; | 881 | struct snd_akm4xxx *ak = entry->private_data; |
882 | int reg, val, chip; | 882 | int reg, val, chip; |
883 | for (chip = 0; chip < ak->num_chips; chip++) { | 883 | for (chip = 0; chip < ak->num_chips; chip++) { |
884 | for (reg = 0; reg < ak->total_regs; reg++) { | 884 | for (reg = 0; reg < ak->total_regs; reg++) { |