All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: "Andy Gross" <agross@kernel.org>,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Konrad Dybcio" <konrad.dybcio@linaro.org>,
	"Sebastian Reichel" <sre@kernel.org>,
	"Claudiu Beznea" <claudiu.beznea@microchip.com>,
	"Liam Girdwood" <lgirdwood@gmail.com>,
	"Mark Brown" <broonie@kernel.org>,
	"Jaroslav Kysela" <perex@perex.cz>,
	"Takashi Iwai" <tiwai@suse.com>,
	"Nicolas Ferre" <nicolas.ferre@microchip.com>,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	"Lars-Peter Clausen" <lars@metafoo.de>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Oder Chiou" <oder_chiou@realtek.com>,
	"Srinivas Kandagatla" <srinivas.kandagatla@linaro.org>,
	"Banajit Goswami" <bgoswami@quicinc.com>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
	"Sylwester Nawrocki" <s.nawrocki@samsung.com>,
	linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH] power: reset: qcom-pon: drop of_match_ptr for ID table
Date: Fri, 10 Mar 2023 22:43:25 +0100	[thread overview]
Message-ID: <20230310214333.274903-2-krzysztof.kozlowski@linaro.org> (raw)
In-Reply-To: <20230310214333.274903-1-krzysztof.kozlowski@linaro.org>

The Qualcomm SoC power-on driver is specific to ARCH_QCOM which depends
on OF thus the driver is OF-only.  It's of_device_id table is built
unconditionally, thus of_match_ptr() for ID table does not make sense.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/power/reset/qcom-pon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/reset/qcom-pon.c b/drivers/power/reset/qcom-pon.c
index 16bc01738be9..ebdcfb28c4a0 100644
--- a/drivers/power/reset/qcom-pon.c
+++ b/drivers/power/reset/qcom-pon.c
@@ -91,7 +91,7 @@ static struct platform_driver pm8916_pon_driver = {
 	.probe = pm8916_pon_probe,
 	.driver = {
 		.name = "pm8916-pon",
-		.of_match_table = of_match_ptr(pm8916_pon_id_table),
+		.of_match_table = pm8916_pon_id_table,
 	},
 };
 module_platform_driver(pm8916_pon_driver);
-- 
2.34.1


WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: "Andy Gross" <agross@kernel.org>,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Konrad Dybcio" <konrad.dybcio@linaro.org>,
	"Sebastian Reichel" <sre@kernel.org>,
	"Claudiu Beznea" <claudiu.beznea@microchip.com>,
	"Liam Girdwood" <lgirdwood@gmail.com>,
	"Mark Brown" <broonie@kernel.org>,
	"Jaroslav Kysela" <perex@perex.cz>,
	"Takashi Iwai" <tiwai@suse.com>,
	"Nicolas Ferre" <nicolas.ferre@microchip.com>,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	"Lars-Peter Clausen" <lars@metafoo.de>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Oder Chiou" <oder_chiou@realtek.com>,
	"Srinivas Kandagatla" <srinivas.kandagatla@linaro.org>,
	"Banajit Goswami" <bgoswami@quicinc.com>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
	"Sylwester Nawrocki" <s.nawrocki@samsung.com>,
	linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH] power: reset: qcom-pon: drop of_match_ptr for ID table
Date: Fri, 10 Mar 2023 22:43:25 +0100	[thread overview]
Message-ID: <20230310214333.274903-2-krzysztof.kozlowski@linaro.org> (raw)
In-Reply-To: <20230310214333.274903-1-krzysztof.kozlowski@linaro.org>

The Qualcomm SoC power-on driver is specific to ARCH_QCOM which depends
on OF thus the driver is OF-only.  It's of_device_id table is built
unconditionally, thus of_match_ptr() for ID table does not make sense.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/power/reset/qcom-pon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/reset/qcom-pon.c b/drivers/power/reset/qcom-pon.c
index 16bc01738be9..ebdcfb28c4a0 100644
--- a/drivers/power/reset/qcom-pon.c
+++ b/drivers/power/reset/qcom-pon.c
@@ -91,7 +91,7 @@ static struct platform_driver pm8916_pon_driver = {
 	.probe = pm8916_pon_probe,
 	.driver = {
 		.name = "pm8916-pon",
-		.of_match_table = of_match_ptr(pm8916_pon_id_table),
+		.of_match_table = pm8916_pon_id_table,
 	},
 };
 module_platform_driver(pm8916_pon_driver);
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2023-03-10 21:45 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-10 21:43 [PATCH 1/9] ASoC: qcom: lpass-sc7280: Drop of_match_ptr for ID table Krzysztof Kozlowski
2023-03-10 21:43 ` Krzysztof Kozlowski
2023-03-10 21:43 ` Krzysztof Kozlowski [this message]
2023-03-10 21:43   ` [PATCH] power: reset: qcom-pon: drop " Krzysztof Kozlowski
2023-03-10 22:35   ` Krzysztof Kozlowski
2023-03-10 22:35     ` Krzysztof Kozlowski
2023-03-10 21:43 ` [PATCH 2/9] ASoC: atmel: sam9x5_wm8731: Drop " Krzysztof Kozlowski
2023-03-10 21:43   ` Krzysztof Kozlowski
2023-03-10 21:43 ` [PATCH 3/9] ASoC: samsung: aries_wm8994: " Krzysztof Kozlowski
2023-03-10 21:43   ` Krzysztof Kozlowski
2023-03-10 21:43 ` [PATCH 4/9] ASoC: samsung: rt5514-spi: " Krzysztof Kozlowski
2023-03-10 21:43   ` Krzysztof Kozlowski
2023-03-10 21:43 ` [PATCH 5/9] ASoC: codecs: adau1977-spi: Mark OF related data as maybe unused Krzysztof Kozlowski
2023-03-10 21:43   ` Krzysztof Kozlowski
2023-03-10 21:43 ` [PATCH 6/9] ASoC: codecs: pcm179x-spi: " Krzysztof Kozlowski
2023-03-10 21:43   ` Krzysztof Kozlowski
2023-03-10 21:43 ` [PATCH 7/9] ASoC: codecs: rt1019: " Krzysztof Kozlowski
2023-03-10 21:43   ` Krzysztof Kozlowski
2023-03-10 21:43 ` [PATCH 8/9] ASoC: codecs: src4xxx-i2c: " Krzysztof Kozlowski
2023-03-10 21:43   ` Krzysztof Kozlowski
2023-03-10 21:43 ` [PATCH 9/9] ASoC: codecs: zl38060: " Krzysztof Kozlowski
2023-03-10 21:43   ` Krzysztof Kozlowski
2023-03-13 19:07 ` (subset) [PATCH 1/9] ASoC: qcom: lpass-sc7280: Drop of_match_ptr for ID table Mark Brown
2023-03-13 19:07   ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2023-03-10 20:06 [PATCH] power: reset: qcom-pon: drop " Krzysztof Kozlowski
2023-03-10 20:10 ` Konrad Dybcio
2023-03-10 20:48 ` Marijn Suijten
2023-03-10 20:54   ` Krzysztof Kozlowski
2023-03-12 22:33 ` Sebastian Reichel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230310214333.274903-2-krzysztof.kozlowski@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=agross@kernel.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=andersson@kernel.org \
    --cc=bgoswami@quicinc.com \
    --cc=broonie@kernel.org \
    --cc=claudiu.beznea@microchip.com \
    --cc=konrad.dybcio@linaro.org \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=nicolas.ferre@microchip.com \
    --cc=nuno.sa@analog.com \
    --cc=oder_chiou@realtek.com \
    --cc=perex@perex.cz \
    --cc=s.nawrocki@samsung.com \
    --cc=sre@kernel.org \
    --cc=srinivas.kandagatla@linaro.org \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.