ARM: OMAP: Improve a size determination in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 3 Oct 2017 18:46:48 +0000 (20:46 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 11 Oct 2017 18:13:04 +0000 (11:13 -0700)
commit16e7ea5380258c75e8c79c1737cc72ce2573d3b8
tree2d33e21b4149e5001997fd4d516de0a4168dbbd3
parentd679950cb9233903f0de011d81e42e2e56c3573d
ARM: OMAP: Improve a size determination in two functions

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

This issue was detected by using the Coccinelle software.

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