OSDN Git Service

ath10k: Use standard bulk clock API in snoc
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 25 Jul 2019 17:47:55 +0000 (10:47 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 17 Sep 2019 14:04:15 +0000 (17:04 +0300)
commitf93bcf0ce6a144174292716f9a79330567a778b6
tree1e698c9a5893acc9995d53ee904dfaa05568cf73
parentc56c7f24d7f88cac9aa9a30fe96adfec96c024bb
ath10k: Use standard bulk clock API in snoc

No frequency is currently specified for the single clock defined in the
snoc driver, so the clock wrappers reimplements the standard bulk API
provided by the clock framework. Change to this.

The single clock defined is marked as optional so this version of the
get API is used, but might need to be reconsidered in the future.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/snoc.c
drivers/net/wireless/ath/ath10k/snoc.h