linux/drivers/clk/microchip
Conor Dooley 5fa27b77a1 clk: microchip: mpfs: simplify control reg access
The control reg addresses are known when the clocks are registered, so
we can, instead of assigning a base pointer to the structs, assign the
control reg addresses directly. Accordingly, remove the interim
variables used during reads/writes to those registers.

Reviewed-by: Daire McNamara <daire.mcnamara@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220909123123.2699583-11-conor.dooley@microchip.com
2022-09-14 10:57:06 +03:00
..
clk-core.c clk: let init callback return an error code 2019-12-23 18:53:13 -08:00
clk-core.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 445 2019-06-05 17:37:18 +02:00
clk-mpfs.c clk: microchip: mpfs: simplify control reg access 2022-09-14 10:57:06 +03:00
clk-pic32mzda.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 445 2019-06-05 17:37:18 +02:00
Kconfig clk: microchip: mpfs: add reset controller 2022-09-14 10:55:17 +03:00
Makefile clk: microchip: Add driver for Microchip PolarFire SoC 2022-03-11 19:31:52 -08:00