Stephen Boyd 0b88bc9292 clk: ti: Use int to check return value from of_property_count_elems_of_size()
This function can return a negative number when it fails, but res->sets
is at most a u16 which can't hold that negative number. Let's store the
result into an int, ret, and then assign that to res->sets when it works
to avoid this logical impossibility.

Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2019-06-24 18:11:41 -07:00
..
2019-05-06 17:54:22 -07:00
2019-04-15 10:22:51 +02:00
2019-05-16 08:31:32 -07:00
2019-05-16 08:31:32 -07:00
2017-11-17 20:14:10 -08:00
2017-11-17 20:14:10 -08:00