Loading drivers/clk/qcom/msm-clock-controller.c +5 −5 Original line number Diff line number Diff line Loading @@ -205,7 +205,7 @@ static int generic_clk_parse_parents(struct device *dev, struct clk *c, char *name = "qcom,parent"; /* This property is optional */ if (!of_property_read_bool(np, name)) if (!of_find_property(np, name, NULL)) return 0; rc = of_property_read_phandle_index(np, name, 0, &p); Loading @@ -231,7 +231,7 @@ static int generic_clk_parse_vdd(struct device *dev, struct clk *c, char *name = "qcom,supply-group"; /* This property is optional */ if (!of_property_read_bool(np, name)) if (!of_find_property(np, name, NULL)) return 0; rc = of_property_read_phandle_index(np, name, 0, &p); Loading @@ -256,7 +256,7 @@ static int generic_clk_parse_flags(struct device *dev, struct clk *c, char *name = "qcom,clk-flags"; /* This property is optional */ if (!of_property_read_bool(np, name)) if (!of_find_property(np, name, NULL)) return 0; rc = of_property_read_u32(np, name, &c->flags); Loading Loading @@ -352,7 +352,7 @@ static int generic_clk_parse_depends(struct device *dev, struct clk *c, char *name = "qcom,depends"; /* This property is optional */ if (!of_property_read_bool(np, name)) if (!of_find_property(np, name, NULL)) return 0; rc = of_property_read_phandle_index(np, name, 0, &p); Loading @@ -378,7 +378,7 @@ static int generic_clk_parse_init_config(struct device *dev, struct clk *c, char *name = "qcom,config-rate"; /* This property is optional */ if (!of_property_read_bool(np, name)) if (!of_find_property(np, name, NULL)) return 0; rc = of_property_read_u32(np, name, &temp); Loading Loading
drivers/clk/qcom/msm-clock-controller.c +5 −5 Original line number Diff line number Diff line Loading @@ -205,7 +205,7 @@ static int generic_clk_parse_parents(struct device *dev, struct clk *c, char *name = "qcom,parent"; /* This property is optional */ if (!of_property_read_bool(np, name)) if (!of_find_property(np, name, NULL)) return 0; rc = of_property_read_phandle_index(np, name, 0, &p); Loading @@ -231,7 +231,7 @@ static int generic_clk_parse_vdd(struct device *dev, struct clk *c, char *name = "qcom,supply-group"; /* This property is optional */ if (!of_property_read_bool(np, name)) if (!of_find_property(np, name, NULL)) return 0; rc = of_property_read_phandle_index(np, name, 0, &p); Loading @@ -256,7 +256,7 @@ static int generic_clk_parse_flags(struct device *dev, struct clk *c, char *name = "qcom,clk-flags"; /* This property is optional */ if (!of_property_read_bool(np, name)) if (!of_find_property(np, name, NULL)) return 0; rc = of_property_read_u32(np, name, &c->flags); Loading Loading @@ -352,7 +352,7 @@ static int generic_clk_parse_depends(struct device *dev, struct clk *c, char *name = "qcom,depends"; /* This property is optional */ if (!of_property_read_bool(np, name)) if (!of_find_property(np, name, NULL)) return 0; rc = of_property_read_phandle_index(np, name, 0, &p); Loading @@ -378,7 +378,7 @@ static int generic_clk_parse_init_config(struct device *dev, struct clk *c, char *name = "qcom,config-rate"; /* This property is optional */ if (!of_property_read_bool(np, name)) if (!of_find_property(np, name, NULL)) return 0; rc = of_property_read_u32(np, name, &temp); Loading