]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
opp: of: drop incorrect lockdep_assert_held()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 10 Oct 2019 10:25:33 +0000 (15:55 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 10 Oct 2019 10:46:13 +0000 (16:16 +0530)
commitf2edbb6699b0bc6e4f789846b99007200546c6c2
tree59aa36fc6552c856ab6b8272c6dee0e6e55224df
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
opp: of: drop incorrect lockdep_assert_held()

_find_opp_of_np() doesn't traverse the list of OPP tables but instead
just the entries within an OPP table and so only requires to lock the
OPP table itself.

The lockdep_assert_held() was added there by mistake and isn't really
required.

Fixes: 5d6d106fa455 ("OPP: Populate required opp tables from "required-opps" property")
Cc: v5.0+ <stable@vger.kernel.org> # v5.0+
Reported-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/of.c