mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
clk: sunxi: Make clocks setup functions return their clock
The clocks registration code in clk-sunxi was most of the time not returning the struct clk (or struct clk array) that was registered, preventing the users of such functions to manipulate it, for example to protect it. Make them return it so that we can start using it. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
parent
d221b7a878
commit
96f185ac9a
1 changed files with 10 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue