leds: mlxreg: Drop an excess struct mlxreg_led_data member
[linux-2.6-microblaze.git] / drivers / mailbox / bcm-pdc-mailbox.c
index 778faec..1768d3d 100644 (file)
@@ -1605,7 +1605,7 @@ cleanup:
        return err;
 }
 
-static int pdc_remove(struct platform_device *pdev)
+static void pdc_remove(struct platform_device *pdev)
 {
        struct pdc_state *pdcs = platform_get_drvdata(pdev);
 
@@ -1617,12 +1617,11 @@ static int pdc_remove(struct platform_device *pdev)
 
        dma_pool_destroy(pdcs->rx_buf_pool);
        dma_pool_destroy(pdcs->ring_pool);
-       return 0;
 }
 
 static struct platform_driver pdc_mbox_driver = {
        .probe = pdc_probe,
-       .remove = pdc_remove,
+       .remove_new = pdc_remove,
        .driver = {
                   .name = "brcm-iproc-pdc-mbox",
                   .of_match_table = pdc_mbox_of_match,