usb: phy: isp1301: Deduplicate of_find_i2c_device_by_node()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 21 May 2021 14:52:43 +0000 (17:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 May 2021 13:27:17 +0000 (15:27 +0200)
commitca82c06788422f7bff38e1282bf5057aefd70903
treefadb59fe94afaefc3b5b3001243203717f1fa94a
parent08377263a932db95e01c70a1b2fe597a605d645a
usb: phy: isp1301: Deduplicate of_find_i2c_device_by_node()

The driver is using open-coded variant of of_find_i2c_device_by_node().
Replace it by the actual call to the above mentioned API.

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