Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a90a806 authored by Sujeev Dias's avatar Sujeev Dias Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarSujeev Dias <sdias@codeaurora.org>
parent af87342b
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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 @@ static int of_parse_dt(struct mhi_controller *mhi_cntrl,

	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)
{