diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-08-15 10:29:19 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-16 11:01:57 -0700 |
commit | 31975e27a4b5ca3ff1ca42d7d12bc936d3166d4c (patch) | |
tree | 4f2fefae3cefb1d569b3a6ecca857b77a1cf978b /drivers/regulator/fixed.c | |
parent | 9d2ee98dafd439a768f4cef3757bcce328b86386 (diff) | |
download | talos-obmc-linux-31975e27a4b5ca3ff1ca42d7d12bc936d3166d4c.tar.gz talos-obmc-linux-31975e27a4b5ca3ff1ca42d7d12bc936d3166d4c.zip |
mlx4: sizeof style usage
The kernel coding style is to treat sizeof as a function
(ie. with parenthesis) not as an operator.
Also use kcalloc and kmalloc_array
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/regulator/fixed.c')
0 files changed, 0 insertions, 0 deletions