[PATCH v3 34/34] clk: change handling of round_rate() such that only zero is an error

2018-01-01 Thread Bryan O'Donoghue
Change the handling of clk_ops->round_rate() return values such that only zero is treated as an error. All implementations of clk_ops->round_rate() will have previously been updated to match this change. Using zero as the determinant for an error means its possible to pass an unsigned long as

[PATCH v3 34/34] clk: change handling of round_rate() such that only zero is an error

2018-01-01 Thread Bryan O'Donoghue
Change the handling of clk_ops->round_rate() return values such that only zero is treated as an error. All implementations of clk_ops->round_rate() will have previously been updated to match this change. Using zero as the determinant for an error means its possible to pass an unsigned long as