mhi: core: remove having compile option for CONFIG_OF flag

All new targets are compiled with devicetree support, no need
to have compile option in driver.

CRs-Fixed: 2258358
Change-Id: I722dcd2fd1d4b635ac7ec41f6a4dfc3479361bd4
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
This commit is contained in:
Sujeev Dias 2018-06-15 20:47:24 -07:00 committed by Gerrit - the friendly Code Review server
parent af87342b86
commit 2a90a80663

View File

@ -736,7 +736,6 @@ int mhi_device_configure(struct mhi_device *mhi_dev,
return 0;
}
#if defined(CONFIG_OF)
static int of_parse_ev_cfg(struct mhi_controller *mhi_cntrl,
struct device_node *of_node)
{
@ -1046,13 +1045,6 @@ error_ev_cfg:
return ret;
}
#else
static int of_parse_dt(struct mhi_controller *mhi_cntrl,
struct device_node *of_node)
{
return -EINVAL;
}
#endif
int of_register_mhi_controller(struct mhi_controller *mhi_cntrl)
{