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

Commit a3d29111 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "qcom: msm-clock-controller: Remove incorrect usage of_property_read_bool"

parents 156aa1e4 362134b1
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);