diff options
author | Jason Wang <wangborong@cdjrlc.com> | 2021-06-24 14:36:32 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-06-26 00:13:27 +1000 |
commit | 590e1e4254458455477e4e857cd00733280a3d73 (patch) | |
tree | fe2cd2261d7fd6d0f9f5d1366a3843eb5186d4b5 /net | |
parent | cae4644673ec5f54c77deab67a57c41395a1539f (diff) |
powerpc/sysfs: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE
The ARRAY_SIZE macro is more compact and more formal in linux source.
Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210624063632.25632-1-wangborong@cdjrlc.com
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions