[PATCH v3 09/34] clk: bcm2835: change clk_get_rate() helper return type

Eric Anholt eric at anholt.net
Tue Jan 2 14:21:45 PST 2018


Bryan O'Donoghue <pure.logic at nexus-software.ie> writes:

> bcm2835_pll_rate_from_divisor returns a long but the function calling it
> returns an unsigned long. There's no reason to have a type disparity here
> so tidy up the return type of bcm2835_pll_rate_from_divisor() from signed
> to unsigned long.

I'm still surprised that clocks are using longs instead of u64s, but
this seems like a fine change.  For the 2 bcm2835 patches,

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20180102/622b6e3d/attachment.sig>


More information about the linux-rpi-kernel mailing list