ARM: OMAP1: DMA: Improve a size determination in omap1_system_dma_init()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 1 Jun 2017 19:48:11 +0000 (21:48 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Jun 2017 06:53:49 +0000 (23:53 -0700)
commitd27a30bbc8b0c84a4cc922b201f9e85e9a2de741
treeea268bbb64db80e6a90ded536312b27bc7055ac5
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
ARM: OMAP1: DMA: Improve a size determination in omap1_system_dma_init()

Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/dma.c