static int ulpi_set_flags(struct usb_phy *phy) { int ret; ret = ulpi_set_otg_flags(phy); if (ret) return ret; ret = ulpi_set_ic_flags(phy); if (ret) return ret; return ulpi_set_fc_flags(phy); }
static int ulpi_set_flags(struct otg_transceiver *otg) { int ret; ret = ulpi_set_otg_flags(otg); if (ret) return ret; ret = ulpi_set_ic_flags(otg); if (ret) return ret; return ulpi_set_fc_flags(otg); }