commit | a72da43c92dc09488ac2944b103de037c435302a | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Wed Sep 27 21:24:43 2017 +0200 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Mon Nov 13 17:42:56 2017 -0800 |
tree | c4f7b497aa93ddde8ec0ae96cf8265475d939483 | |
parent | e343b81e4d9d1551ec3a651a7d30630a268fd35e [diff] |
clk: versatile: Improve sizeof() usage 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. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>