ALSA: aoa: make remove callback of soundbus driver void returned
[linux-2.6-block.git] / sound / aoa / fabrics / layout.c
index ec4ef18555bc90b6aade3050ea97a9438e37a425..850dc8c53e9b55f35c1e5c0cc68fa4a63524ed5e 100644 (file)
@@ -1094,7 +1094,7 @@ static int aoa_fabric_layout_probe(struct soundbus_dev *sdev)
        return -ENODEV;
 }
 
-static int aoa_fabric_layout_remove(struct soundbus_dev *sdev)
+static void aoa_fabric_layout_remove(struct soundbus_dev *sdev)
 {
        struct layout_dev *ldev = dev_get_drvdata(&sdev->ofdev.dev);
        int i;
@@ -1123,7 +1123,6 @@ static int aoa_fabric_layout_remove(struct soundbus_dev *sdev)
        kfree(ldev);
        sdev->pcmid = -1;
        sdev->pcmname = NULL;
-       return 0;
 }
 
 #ifdef CONFIG_PM_SLEEP