diff options
Diffstat (limited to 'sound/soc/fsl/mpc8610_hpcd.c')
-rw-r--r-- | sound/soc/fsl/mpc8610_hpcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/mpc8610_hpcd.c b/sound/soc/fsl/mpc8610_hpcd.c index 358f0baaf71b..31af405bda84 100644 --- a/sound/soc/fsl/mpc8610_hpcd.c +++ b/sound/soc/fsl/mpc8610_hpcd.c | |||
@@ -505,7 +505,7 @@ static int mpc8610_hpcd_probe(struct platform_device *pdev) | |||
505 | return 0; | 505 | return 0; |
506 | 506 | ||
507 | error_sound: | 507 | error_sound: |
508 | platform_device_unregister(sound_device); | 508 | platform_device_put(sound_device); |
509 | error: | 509 | error: |
510 | kfree(machine_data); | 510 | kfree(machine_data); |
511 | error_alloc: | 511 | error_alloc: |