mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02: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:
parent
7628c13e4c
commit
01243dd90a
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user