Commit de517118 authored by Ethan Carter Edwards's avatar Ethan Carter Edwards Committed by Stephen Boyd
Browse files

clk: ti: use kcalloc() instead of kzalloc()

parent caa508a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ static void of_mux_clk_setup(struct device_node *node)
		pr_err("mux-clock %pOFn must have parents\n", node);
		return;
	}
	parent_names = kzalloc((sizeof(char *) * num_parents), GFP_KERNEL);
	parent_names = kcalloc(num_parents, sizeof(char *), GFP_KERNEL);
	if (!parent_names)
		goto cleanup;