Skip to content
Commit bf37afce authored by zhong jiang's avatar zhong jiang Committed by David S. Miller
Browse files

net:usb: Use ARRAY_SIZE instead of calculating the array size



We use ARRAY_SIZE to replace open code sizeof(lan78xx_regs) / sizeof(u32).
It make the code concise.

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f13b5468
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