soc: qcom: stats: Mark device as having no PM support
authorStephen Boyd <swboyd@chromium.org>
Sat, 15 Oct 2022 00:49:34 +0000 (17:49 -0700)
committerBjorn Andersson <andersson@kernel.org>
Mon, 17 Oct 2022 22:58:15 +0000 (17:58 -0500)
commit367b9c70e9b25fe9ad5346b0f3544682d8b112b9
tree2062c3f3116b1dc02ff1fa03525c8ad9c6dffb50
parent5f7e2cb56af6800a4158514cc27921141e67ae19
soc: qcom: stats: Mark device as having no PM support

This driver purely exposes information from memory to the kernel. Let's
mark it as not having any device PM functionality, so that during
suspend we skip even trying to call a suspend function on this device.
This clears up suspend logs more than anything else, but it also shaves
a few cycles off suspend.

Cc: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221015004934.3930651-2-swboyd@chromium.org
drivers/soc/qcom/qcom_stats.c