clk: at91: add pmc_data struct and helpers
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Oct 2018 14:21:45 +0000 (16:21 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 17 Oct 2018 17:44:33 +0000 (10:44 -0700)
commitb00cd8e41979267e067ad858b62b5e8b1b94c945
tree1e8f5055f18b928305e99b005473f473f1b26e3e
parentb2e39dc0bb8107341f6f704472e79fd32d0cef25
clk: at91: add pmc_data struct and helpers

Add a new strut to handle references to all the PMC clocks and implement
allocation/free helpers.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/pmc.c
drivers/clk/at91/pmc.h