Searched hist:"601 da9d0a54c0fea7f5a208bc107d7ef1de4f570" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-factors.h | diff 601da9d0a54c0fea7f5a208bc107d7ef1de4f570 Fri Jul 04 15:24:52 CDT 2014 Maxime Ripard <maxime.ripard@free-electrons.com> clk: sunxi: factors: Invert the probing logic
Until now, the factors clock probing was done directly by sunxi_init_clocks, with the factors registration being called directly with the clocks data passed as an argument.
This approch has shown its limits when we added more clocks, since we couldn't really split code with such a logic in smaller files, and led to a huge file having all the clocks.
Introduce an intermediate probing function, so that factor clocks will be able to directly be called by CLK_OF_DECLARE, which will in turn ease the split into several files.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com>
|
H A D | clk-factors.c | diff 601da9d0a54c0fea7f5a208bc107d7ef1de4f570 Fri Jul 04 15:24:52 CDT 2014 Maxime Ripard <maxime.ripard@free-electrons.com> clk: sunxi: factors: Invert the probing logic
Until now, the factors clock probing was done directly by sunxi_init_clocks, with the factors registration being called directly with the clocks data passed as an argument.
This approch has shown its limits when we added more clocks, since we couldn't really split code with such a logic in smaller files, and led to a huge file having all the clocks.
Introduce an intermediate probing function, so that factor clocks will be able to directly be called by CLK_OF_DECLARE, which will in turn ease the split into several files.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com>
|
H A D | clk-sunxi.c | diff 601da9d0a54c0fea7f5a208bc107d7ef1de4f570 Fri Jul 04 15:24:52 CDT 2014 Maxime Ripard <maxime.ripard@free-electrons.com> clk: sunxi: factors: Invert the probing logic
Until now, the factors clock probing was done directly by sunxi_init_clocks, with the factors registration being called directly with the clocks data passed as an argument.
This approch has shown its limits when we added more clocks, since we couldn't really split code with such a logic in smaller files, and led to a huge file having all the clocks.
Introduce an intermediate probing function, so that factor clocks will be able to directly be called by CLK_OF_DECLARE, which will in turn ease the split into several files.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Hans de Goede <hdegoede@redhat.com>
|