Skip to content

Commit

Permalink
dmaengine: xilinx: dpdma: Use kernel type u32 over uint32_t
Browse files Browse the repository at this point in the history
Use u32 kernel type instead of uint32_t. Issue is reported by
checkpatch.pl --strict.

Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
Michal Simek committed Apr 7, 2021
1 parent 90733ed commit bd4dead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/xilinx/xilinx_dpdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ static struct dma_chan *of_dma_xilinx_xlate(struct of_phandle_args *dma_spec,
struct of_dma *ofdma)
{
struct xilinx_dpdma_device *xdev = ofdma->of_dma_data;
uint32_t chan_id = dma_spec->args[0];
u32 chan_id = dma_spec->args[0];

if (chan_id >= ARRAY_SIZE(xdev->chan))
return NULL;
Expand Down

0 comments on commit bd4dead

Please sign in to comment.