staging: ralink-gdma: Remove space after cast
authorBharath Vedartham <linux.bhar@gmail.com>
Sun, 24 Mar 2019 10:02:35 +0000 (15:32 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2019 20:47:37 +0000 (05:47 +0900)
This fixes the checkpatch.pl check: "No space is necessary after the
cast".

Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ralink-gdma/ralink-gdma.c

index 44a65e2439e0b01a6680c52d4cd2e3aede6ab452..680ce02ca7ad8c131c720b7214163d86e427f696 100644 (file)
@@ -818,7 +818,7 @@ static int gdma_dma_probe(struct platform_device *pdev)
        match = of_match_device(gdma_of_match_table, &pdev->dev);
        if (!match)
                return -EINVAL;
-       data = (struct gdma_data *) match->data;
+       data = (struct gdma_data *)match->data;
 
        dma_dev = devm_kzalloc(&pdev->dev,
                               struct_size(dma_dev, chan, data->chancnt),