summaryrefslogtreecommitdiffstats
path: root/drivers/sound/esssolo1.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sound/esssolo1.c')
-rw-r--r--drivers/sound/esssolo1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sound/esssolo1.c b/drivers/sound/esssolo1.c
index e2e0c3b12..6a1623cf0 100644
--- a/drivers/sound/esssolo1.c
+++ b/drivers/sound/esssolo1.c
@@ -2321,7 +2321,7 @@ static int __devinit solo1_probe(struct pci_dev *pcidev, const struct pci_device
err_region2:
release_region(s->mpubase, MPUBASE_EXTENT);
err_region1:
- kfree_s(s, sizeof(struct solo1_state));
+ kfree(s);
return -1;
}
@@ -2347,7 +2347,7 @@ static void __devinit solo1_remove(struct pci_dev *dev)
unregister_sound_mixer(s->dev_mixer);
unregister_sound_midi(s->dev_midi);
unregister_sound_special(s->dev_dmfm);
- kfree_s(s, sizeof(struct solo1_state));
+ kfree(s);
dev->driver_data = NULL;
}