Skip to content
Commit 590e1e42 authored by Jason Wang's avatar Jason Wang Committed by Michael Ellerman
Browse files

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: default avatarJason Wang <wangborong@cdjrlc.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210624063632.25632-1-wangborong@cdjrlc.com
parent cae46446
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment