usb: typec: mux: Switch to use fwnode_property_count_uXX()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Jul 2019 19:47:26 +0000 (22:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2019 09:07:42 +0000 (11:07 +0200)
commit6ce9ba07b1b78ca3412eac808cd59eea09c80468
tree81621f3fc436ef37af3561ceb903164440c59e43
parentbc7514925cf50bf81f514d0f2d7521b25973a639
usb: typec: mux: Switch to use fwnode_property_count_uXX()

Use fwnode_property_count_uXX() directly, that makes code neater.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20190723194726.69545-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux.c