mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
soc: rockchip: opp_select: Remove non-essential conditions for getting pvtm
Change-Id: I929046fa5c36f9cbc01e30edaa68f9abdfccdfd6 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This commit is contained in:
@@ -324,8 +324,6 @@ static int rockchip_get_bin_sel(struct device_node *np, char *name,
|
||||
static int rockchip_parse_pvtm_config(struct device_node *np,
|
||||
struct pvtm_config *pvtm)
|
||||
{
|
||||
if (!of_find_property(np, "rockchip,pvtm-voltage-sel", NULL))
|
||||
return -EINVAL;
|
||||
if (of_property_read_u32(np, "rockchip,pvtm-freq", &pvtm->freq))
|
||||
return -EINVAL;
|
||||
if (of_property_read_u32(np, "rockchip,pvtm-volt", &pvtm->volt))
|
||||
|
||||
Reference in New Issue
Block a user