diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-06-03 19:02:24 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-06-08 03:02:31 -0700 |
commit | 1dfb5b59d6571104eff6629a0e73a6af347a3226 (patch) | |
tree | 364f5e079321afe6cbc3ddf9bb3eed78fb562283 /arch/arm/mach-omap2/timer.c | |
parent | 1a61a2a5a6476c9053a6c50265ded7f1387960fb (diff) |
ARM: OMAP2+: Improve a size determination in sr_dev_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>
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
0 files changed, 0 insertions, 0 deletions