diff options
author | Robin Murphy <robin.murphy@arm.com> | 2022-01-26 19:30:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-27 16:50:34 +0300 |
commit | d9f393f468aa939b53cc81b43169953ce37d7cdb (patch) | |
tree | 389747bc79abf29c9a87cff0a00d56c477ff4766 /drivers/nfc/st-nci | |
parent | a9c5eb642f53260cca406c25c0b801f000ca41fc (diff) | |
download | linux-d9f393f468aa939b53cc81b43169953ce37d7cdb.tar.xz |
nfp: Simplify array allocation
Prefer kcalloc() to kzalloc(array_size()) for allocating an array.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc/st-nci')
0 files changed, 0 insertions, 0 deletions