Skip to content

Commit d3954b5

Browse files
shubhraamdbebarino
authored andcommitted
clk: zynqmp: make bestdiv unsigned
Divisor is always positive make it u32 *. Also the arguments passed are currently of u32 pointers. Signed-off-by: Shubhrajyoti Datta <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 568035b commit d3954b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/zynqmp/divider.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static unsigned long zynqmp_clk_divider_recalc_rate(struct clk_hw *hw,
113113
static void zynqmp_get_divider2_val(struct clk_hw *hw,
114114
unsigned long rate,
115115
struct zynqmp_clk_divider *divider,
116-
int *bestdiv)
116+
u32 *bestdiv)
117117
{
118118
int div1;
119119
int div2;

0 commit comments

Comments
 (0)