summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-adi-v3.c
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2015-05-04 23:04:16 +0200
committerMichael Turquette <mturquette@linaro.org>2015-05-08 11:22:30 -0700
commit0cd3be6e9a46f84ef7a42e1a5645d32ad547b12e (patch)
treebae0942e47885b7ddf6b6ea1897a53abf649b6e4 /drivers/spi/spi-adi-v3.c
parentf94029d8801d7c27a94a3ea6c4967aa33c49c34b (diff)
clk: si5351: Do not pass struct clk in platform_data
When registering clk-si5351 by platform_data, we should not pass struct clk for the reference clocks. Drop struct clk from platform_data and rework the driver to use devm_clk_get of named clock references. While at it, check for at least one valid input clock and properly prepare/ enable valid reference clocks. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Reported-by: Michael Welling <mwelling@ieee.org> Reported-by: Jean-Francois Moine <moinejf@free.fr> Reported-by: Russell King <rmk+linux@arm.linux.org.uk> Tested-by: Michael Welling <mwelling@ieee.org> Tested-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/spi/spi-adi-v3.c')
0 files changed, 0 insertions, 0 deletions