aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/cx25821
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-07-12 13:50:10 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-22 14:43:51 -0700
commitba952d84e1d45df80e125d4abc64f3b778ae6dd7 (patch)
tree38414036ccd832df3cdf200f97292190c7d45581 /drivers/staging/cx25821
parentStaging: fix typos concerning "address" (diff)
downloadlinux-dev-ba952d84e1d45df80e125d4abc64f3b778ae6dd7.tar.xz
linux-dev-ba952d84e1d45df80e125d4abc64f3b778ae6dd7.zip
Staging: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/cx25821')
-rw-r--r--drivers/staging/cx25821/cx25821-alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/cx25821/cx25821-alsa.c b/drivers/staging/cx25821/cx25821-alsa.c
index 1798975a69bd..ce2c6f1323e1 100644
--- a/drivers/staging/cx25821/cx25821-alsa.c
+++ b/drivers/staging/cx25821/cx25821-alsa.c
@@ -699,7 +699,7 @@ static int cx25821_audio_initdev(struct cx25821_dev *dev)
/* Card "creation" */
card->private_free = snd_cx25821_dev_free;
- chip = (struct cx25821_audio_dev *) card->private_data;
+ chip = card->private_data;
spin_lock_init(&chip->reg_lock);
chip->dev = dev;