staging: ralink-gdma: Change unsigned to unsigned int
authorBharath Vedartham <linux.bhar@gmail.com>
Sun, 24 Mar 2019 09:48:03 +0000 (15:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2019 20:47:37 +0000 (05:47 +0900)
This fixes the checkpatch.pl warning: "Prefer unsigned to unsigned int"

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 dfdc425..44a65e2 100644 (file)
@@ -164,7 +164,7 @@ static inline uint32_t gdma_dma_read(struct gdma_dma_dev *dma_dev,
 }
 
 static inline void gdma_dma_write(struct gdma_dma_dev *dma_dev,
-                                 unsigned reg, uint32_t val)
+                                 unsigned int reg, uint32_t val)
 {
        writel(val, dma_dev->base + reg);
 }