]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
pmdomain: arm: Add print after a successful probe for SCMI power domains
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 4 Mar 2026 10:14:57 +0000 (11:14 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 1 Apr 2026 11:12:11 +0000 (13:12 +0200)
It can be discussed how useful a print is after a successful probe. In the
SCMI power domain case it's seems valuable, as it let us inform about the
number of initialized power domains too, which is fetched from firmware.

Therefore, let's add a print about this, which also aligns with the
behaviour of the SCMI perf domain driver.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Acked-by: Sudeep Holla <sudeep.holla@kernel.org>
drivers/pmdomain/arm/scmi_pm_domain.c

index b5e2ffd5ea64c0e43f880079aa3858c5d6eac56f..5454faed7d5d45180ecec447b64da74dc3b2cd19 100644 (file)
@@ -113,6 +113,7 @@ static int scmi_pm_domain_probe(struct scmi_device *sdev)
                goto err_rm_genpds;
 
        dev_set_drvdata(dev, scmi_pd_data);
+       dev_info(dev, "Initialized %d power domains", num_domains);
 
        return 0;
 err_rm_genpds: