OSDN Git Service

of/platform: use of_address_count() helper
authorYang Yingliang <yangyingliang@huawei.com>
Sat, 8 Oct 2022 11:56:17 +0000 (19:56 +0800)
committerRob Herring <robh@kernel.org>
Sun, 16 Oct 2022 22:58:54 +0000 (17:58 -0500)
commit32e8f9b3144496c76ad659c255246ecee7b47669
tree9e55801b096b6305ed8633f7d0a58f78c60bae39
parent16988c742968d5ceb2e832a57bd277f51f0a59d7
of/platform: use of_address_count() helper

Use of_address_count() to instead of open-coding it.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20221008115617.3583890-3-yangyingliang@huawei.com
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/platform.c