extcon: arizona: Switch to use device_property_count_u32()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Jul 2019 17:40:21 +0000 (20:40 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 24 Jul 2019 09:57:42 +0000 (18:57 +0900)
commita104dbc527551bda0d97db493a2d3d31e3076d4f
tree61282ae55c087402795f908c22b7ec5242d44a14
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
extcon: arizona: Switch to use device_property_count_u32()

Use use device_property_count_u32() directly, that makes code neater.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-arizona.c