From: Ulf Hansson Date: Wed, 4 Mar 2026 10:14:57 +0000 (+0100) Subject: pmdomain: arm: Add print after a successful probe for SCMI power domains X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c70e42fc4faf591c08aba6e5620343207ff55a9;p=thirdparty%2Fkernel%2Flinux.git pmdomain: arm: Add print after a successful probe for SCMI power domains 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 Reviewed-by: Cristian Marussi Acked-by: Sudeep Holla --- diff --git a/drivers/pmdomain/arm/scmi_pm_domain.c b/drivers/pmdomain/arm/scmi_pm_domain.c index b5e2ffd5ea64c..5454faed7d5d4 100644 --- a/drivers/pmdomain/arm/scmi_pm_domain.c +++ b/drivers/pmdomain/arm/scmi_pm_domain.c @@ -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: