mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -04:00
soc: qcom: rpmh: Update rpmh_invalidate function to return void
Currently rpmh_invalidate() always returns success. Update its return type to void. Reviewed-by: Lina Iyer <ilina@codeaurora.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Suggested-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Maulik Shah <mkshah@codeaurora.org> Link: https://lore.kernel.org/r/1592485553-29163-1-git-send-email-mkshah@codeaurora.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
681b091238
commit
73edcd38d7
@@ -497,7 +497,7 @@ exit:
|
||||
*
|
||||
* Invalidate the sleep and wake values in batch_cache.
|
||||
*/
|
||||
int rpmh_invalidate(const struct device *dev)
|
||||
void rpmh_invalidate(const struct device *dev)
|
||||
{
|
||||
struct rpmh_ctrlr *ctrlr = get_rpmh_ctrlr(dev);
|
||||
struct batch_cache_req *req, *tmp;
|
||||
@@ -509,7 +509,5 @@ int rpmh_invalidate(const struct device *dev)
|
||||
INIT_LIST_HEAD(&ctrlr->batch_cache);
|
||||
ctrlr->dirty = true;
|
||||
spin_unlock_irqrestore(&ctrlr->cache_lock, flags);
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(rpmh_invalidate);
|
||||
|
||||
Reference in New Issue
Block a user