summaryrefslogtreecommitdiff
path: root/drivers/staging/ralink-gdma
diff options
context:
space:
mode:
authorBharath Vedartham <linux.bhar@gmail.com>2019-03-24 13:02:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-25 23:47:37 +0300
commit344201e0f866853e739cf1eb073ca4c8a5823b24 (patch)
tree56cb3d303aeb990f09950eb7ddd41965b2288bf7 /drivers/staging/ralink-gdma
parent4da99b90ce06c45da07138f7d9e4031898ad8284 (diff)
downloadlinux-344201e0f866853e739cf1eb073ca4c8a5823b24.tar.xz
staging: ralink-gdma: Remove space after cast
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>
Diffstat (limited to 'drivers/staging/ralink-gdma')
-rw-r--r--drivers/staging/ralink-gdma/ralink-gdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c
index 44a65e2439e0..680ce02ca7ad 100644
--- a/drivers/staging/ralink-gdma/ralink-gdma.c
+++ b/drivers/staging/ralink-gdma/ralink-gdma.c
@@ -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),