ALSA: ac97: make remove callback of ac97 driver void returned
[linux-2.6-microblaze.git] / drivers / mfd / wm97xx-core.c
index 9a2331e..663acbb 100644 (file)
@@ -319,13 +319,11 @@ err_free_compat:
        return ret;
 }
 
-static int wm97xx_ac97_remove(struct ac97_codec_device *adev)
+static void wm97xx_ac97_remove(struct ac97_codec_device *adev)
 {
        struct wm97xx_priv *wm97xx = ac97_get_drvdata(adev);
 
        snd_ac97_compat_release(wm97xx->ac97);
-
-       return 0;
 }
 
 static const struct ac97_id wm97xx_ac97_ids[] = {