]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: cpuidle: Remove overzealous error logging
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 9 Aug 2019 11:03:08 +0000 (12:03 +0100)
committerWill Deacon <will@kernel.org>
Fri, 9 Aug 2019 16:51:39 +0000 (17:51 +0100)
commit6460d7ba488419dd5bc2cbfd989d5d7930ac1f9f
tree266deda544d065110bca5665ee4bcc3824a72e27
parent63e3ee61549595719145d23fdacd1d8744051108
ARM: cpuidle: Remove overzealous error logging

CPUidle back-end operations are not implemented in some platforms
but this should not be considered an error serious enough to be
logged. Check the arm_cpuidle_init() return value to detect whether
the failure must be reported or not in the kernel log and do
not log it if the platform does not support CPUidle operations.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/cpuidle/cpuidle-arm.c