From b56acf29afe586a64c9fbcb23dfb194f3e5ffb68 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Tue, 20 Sep 2011 15:09:00 +0800 Subject: [PATCH] --- yaml --- r: 270609 b: refs/heads/master c: d890a1a42dff2e6987f04f18fc9e467b10e99cc9 h: refs/heads/master i: 270607: 8fe814ccd775973480f7a7edacbc48da937a1798 v: v3 --- [refs] | 2 +- trunk/sound/soc/fsl/mpc8610_hpcd.c | 2 +- trunk/sound/soc/fsl/p1022_ds.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 9a9e048ee2ee..d2f1e1ae57f9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ded71dcb77ae0dee71fdb9c4e2d2b3dc3d1b7693 +refs/heads/master: d890a1a42dff2e6987f04f18fc9e467b10e99cc9 diff --git a/trunk/sound/soc/fsl/mpc8610_hpcd.c b/trunk/sound/soc/fsl/mpc8610_hpcd.c index 358f0baaf71b..31af405bda84 100644 --- a/trunk/sound/soc/fsl/mpc8610_hpcd.c +++ b/trunk/sound/soc/fsl/mpc8610_hpcd.c @@ -505,7 +505,7 @@ static int mpc8610_hpcd_probe(struct platform_device *pdev) return 0; error_sound: - platform_device_unregister(sound_device); + platform_device_put(sound_device); error: kfree(machine_data); error_alloc: diff --git a/trunk/sound/soc/fsl/p1022_ds.c b/trunk/sound/soc/fsl/p1022_ds.c index e8849ed36cbd..2c064a9824ad 100644 --- a/trunk/sound/soc/fsl/p1022_ds.c +++ b/trunk/sound/soc/fsl/p1022_ds.c @@ -506,7 +506,7 @@ static int p1022_ds_probe(struct platform_device *pdev) error: if (sound_device) - platform_device_unregister(sound_device); + platform_device_put(sound_device); kfree(mdata); error_put: