* [PATCH -next 0/8] mfd: remove redundant of_match_ptr()
@ 2023-08-08 13:00 Zhu Wang
2023-08-08 13:00 ` [PATCH -next 1/8] mfd: rsmu_i2c: " Zhu Wang
` (8 more replies)
0 siblings, 9 replies; 12+ messages in thread
From: Zhu Wang @ 2023-08-08 13:00 UTC (permalink / raw)
To: lee, thor.thayer, ckeepax, rf, patches, linux-kernel; +Cc: wangzhu9
The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here. We remove of_match_ptr() here.
Zhu Wang (8):
mfd: rsmu_i2c: remove redundant of_match_ptr()
mfd: altera-a10sr: remove redundant of_match_ptr()
mfd: rsmu_spi: remove redundant of_match_ptr()
mfd: act8945a: remove redundant of_match_ptr()
mfd: stpmic1: remove redundant of_match_ptr()
mfd: hi655x-pmic: remove redundant of_match_ptr()
mfd: lochnagar-i2c: remove redundant of_match_ptr()
mfd: rn5t618: remove redundant of_match_ptr()
drivers/mfd/act8945a.c | 2 +-
drivers/mfd/altera-a10sr.c | 2 +-
drivers/mfd/hi655x-pmic.c | 2 +-
drivers/mfd/lochnagar-i2c.c | 2 +-
drivers/mfd/rn5t618.c | 2 +-
drivers/mfd/rsmu_i2c.c | 2 +-
drivers/mfd/rsmu_spi.c | 2 +-
drivers/mfd/stpmic1.c | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
--
2.17.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH -next 1/8] mfd: rsmu_i2c: remove redundant of_match_ptr()
2023-08-08 13:00 [PATCH -next 0/8] mfd: remove redundant of_match_ptr() Zhu Wang
@ 2023-08-08 13:00 ` Zhu Wang
2023-08-08 13:00 ` [PATCH -next 2/8] mfd: altera-a10sr: " Zhu Wang
` (7 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Zhu Wang @ 2023-08-08 13:00 UTC (permalink / raw)
To: lee, thor.thayer, ckeepax, rf, patches, linux-kernel; +Cc: wangzhu9
The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here. We remove of_match_ptr() here.
Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
---
drivers/mfd/rsmu_i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/rsmu_i2c.c b/drivers/mfd/rsmu_i2c.c
index 26972a5aff45..06d78a1cf1cc 100644
--- a/drivers/mfd/rsmu_i2c.c
+++ b/drivers/mfd/rsmu_i2c.c
@@ -277,7 +277,7 @@ MODULE_DEVICE_TABLE(of, rsmu_i2c_of_match);
static struct i2c_driver rsmu_i2c_driver = {
.driver = {
.name = "rsmu-i2c",
- .of_match_table = of_match_ptr(rsmu_i2c_of_match),
+ .of_match_table = rsmu_i2c_of_match,
},
.probe = rsmu_i2c_probe,
.remove = rsmu_i2c_remove,
--
2.17.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH -next 2/8] mfd: altera-a10sr: remove redundant of_match_ptr()
2023-08-08 13:00 [PATCH -next 0/8] mfd: remove redundant of_match_ptr() Zhu Wang
2023-08-08 13:00 ` [PATCH -next 1/8] mfd: rsmu_i2c: " Zhu Wang
@ 2023-08-08 13:00 ` Zhu Wang
2023-08-08 13:00 ` [PATCH -next 3/8] mfd: rsmu_spi: " Zhu Wang
` (6 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Zhu Wang @ 2023-08-08 13:00 UTC (permalink / raw)
To: lee, thor.thayer, ckeepax, rf, patches, linux-kernel; +Cc: wangzhu9
The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here. We remove of_match_ptr() here.
Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
---
drivers/mfd/altera-a10sr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/altera-a10sr.c b/drivers/mfd/altera-a10sr.c
index 34ef526f4aee..d53e433ab5c1 100644
--- a/drivers/mfd/altera-a10sr.c
+++ b/drivers/mfd/altera-a10sr.c
@@ -163,7 +163,7 @@ static struct spi_driver altr_a10sr_spi_driver = {
.probe = altr_a10sr_spi_probe,
.driver = {
.name = "altr_a10sr",
- .of_match_table = of_match_ptr(altr_a10sr_spi_of_match),
+ .of_match_table = altr_a10sr_spi_of_match,
},
.id_table = altr_a10sr_spi_ids,
};
--
2.17.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH -next 3/8] mfd: rsmu_spi: remove redundant of_match_ptr()
2023-08-08 13:00 [PATCH -next 0/8] mfd: remove redundant of_match_ptr() Zhu Wang
2023-08-08 13:00 ` [PATCH -next 1/8] mfd: rsmu_i2c: " Zhu Wang
2023-08-08 13:00 ` [PATCH -next 2/8] mfd: altera-a10sr: " Zhu Wang
@ 2023-08-08 13:00 ` Zhu Wang
2023-08-08 13:00 ` [PATCH -next 4/8] mfd: act8945a: " Zhu Wang
` (5 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Zhu Wang @ 2023-08-08 13:00 UTC (permalink / raw)
To: lee, thor.thayer, ckeepax, rf, patches, linux-kernel; +Cc: wangzhu9
The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here. We remove of_match_ptr() here.
Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
---
drivers/mfd/rsmu_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/rsmu_spi.c b/drivers/mfd/rsmu_spi.c
index a4a595bb8d0d..ca0a1202c3ce 100644
--- a/drivers/mfd/rsmu_spi.c
+++ b/drivers/mfd/rsmu_spi.c
@@ -262,7 +262,7 @@ MODULE_DEVICE_TABLE(of, rsmu_spi_of_match);
static struct spi_driver rsmu_spi_driver = {
.driver = {
.name = "rsmu-spi",
- .of_match_table = of_match_ptr(rsmu_spi_of_match),
+ .of_match_table = rsmu_spi_of_match,
},
.probe = rsmu_spi_probe,
.remove = rsmu_spi_remove,
--
2.17.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH -next 4/8] mfd: act8945a: remove redundant of_match_ptr()
2023-08-08 13:00 [PATCH -next 0/8] mfd: remove redundant of_match_ptr() Zhu Wang
` (2 preceding siblings ...)
2023-08-08 13:00 ` [PATCH -next 3/8] mfd: rsmu_spi: " Zhu Wang
@ 2023-08-08 13:00 ` Zhu Wang
2023-08-08 13:00 ` [PATCH -next 5/8] mfd: stpmic1: " Zhu Wang
` (4 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Zhu Wang @ 2023-08-08 13:00 UTC (permalink / raw)
To: lee, thor.thayer, ckeepax, rf, patches, linux-kernel; +Cc: wangzhu9
The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here. We remove of_match_ptr() here.
Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
---
drivers/mfd/act8945a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/act8945a.c b/drivers/mfd/act8945a.c
index 2406fcdff5f9..e8c4b401d0d0 100644
--- a/drivers/mfd/act8945a.c
+++ b/drivers/mfd/act8945a.c
@@ -68,7 +68,7 @@ MODULE_DEVICE_TABLE(of, act8945a_of_match);
static struct i2c_driver act8945a_i2c_driver = {
.driver = {
.name = "act8945a",
- .of_match_table = of_match_ptr(act8945a_of_match),
+ .of_match_table = act8945a_of_match,
},
.probe = act8945a_i2c_probe,
.id_table = act8945a_i2c_id,
--
2.17.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH -next 5/8] mfd: stpmic1: remove redundant of_match_ptr()
2023-08-08 13:00 [PATCH -next 0/8] mfd: remove redundant of_match_ptr() Zhu Wang
` (3 preceding siblings ...)
2023-08-08 13:00 ` [PATCH -next 4/8] mfd: act8945a: " Zhu Wang
@ 2023-08-08 13:00 ` Zhu Wang
2023-08-08 13:00 ` [PATCH -next 6/8] mfd: hi655x-pmic: " Zhu Wang
` (3 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Zhu Wang @ 2023-08-08 13:00 UTC (permalink / raw)
To: lee, thor.thayer, ckeepax, rf, patches, linux-kernel; +Cc: wangzhu9
The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here. We remove of_match_ptr() here.
Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
---
drivers/mfd/stpmic1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/stpmic1.c b/drivers/mfd/stpmic1.c
index 3cc7492f828f..c5128fe96cc7 100644
--- a/drivers/mfd/stpmic1.c
+++ b/drivers/mfd/stpmic1.c
@@ -219,7 +219,7 @@ MODULE_DEVICE_TABLE(of, stpmic1_of_match);
static struct i2c_driver stpmic1_driver = {
.driver = {
.name = "stpmic1",
- .of_match_table = of_match_ptr(stpmic1_of_match),
+ .of_match_table = stpmic1_of_match,
.pm = pm_sleep_ptr(&stpmic1_pm),
},
.probe = stpmic1_probe,
--
2.17.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH -next 6/8] mfd: hi655x-pmic: remove redundant of_match_ptr()
2023-08-08 13:00 [PATCH -next 0/8] mfd: remove redundant of_match_ptr() Zhu Wang
` (4 preceding siblings ...)
2023-08-08 13:00 ` [PATCH -next 5/8] mfd: stpmic1: " Zhu Wang
@ 2023-08-08 13:00 ` Zhu Wang
2023-08-08 13:00 ` [PATCH -next 7/8] mfd: lochnagar-i2c: " Zhu Wang
` (2 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: Zhu Wang @ 2023-08-08 13:00 UTC (permalink / raw)
To: lee, thor.thayer, ckeepax, rf, patches, linux-kernel; +Cc: wangzhu9
The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here. We remove of_match_ptr() here.
Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
---
drivers/mfd/hi655x-pmic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/hi655x-pmic.c b/drivers/mfd/hi655x-pmic.c
index 98ae40ee3f05..91807431a1d6 100644
--- a/drivers/mfd/hi655x-pmic.c
+++ b/drivers/mfd/hi655x-pmic.c
@@ -162,7 +162,7 @@ MODULE_DEVICE_TABLE(of, hi655x_pmic_match);
static struct platform_driver hi655x_pmic_driver = {
.driver = {
.name = "hi655x-pmic",
- .of_match_table = of_match_ptr(hi655x_pmic_match),
+ .of_match_table = hi655x_pmic_match,
},
.probe = hi655x_pmic_probe,
.remove = hi655x_pmic_remove,
--
2.17.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH -next 7/8] mfd: lochnagar-i2c: remove redundant of_match_ptr()
2023-08-08 13:00 [PATCH -next 0/8] mfd: remove redundant of_match_ptr() Zhu Wang
` (5 preceding siblings ...)
2023-08-08 13:00 ` [PATCH -next 6/8] mfd: hi655x-pmic: " Zhu Wang
@ 2023-08-08 13:00 ` Zhu Wang
2023-08-08 13:22 ` Charles Keepax
2023-08-08 13:00 ` [PATCH -next 8/8] mfd: rn5t618: " Zhu Wang
2023-08-17 12:59 ` (subset) [PATCH -next 0/8] mfd: " Lee Jones
8 siblings, 1 reply; 12+ messages in thread
From: Zhu Wang @ 2023-08-08 13:00 UTC (permalink / raw)
To: lee, thor.thayer, ckeepax, rf, patches, linux-kernel; +Cc: wangzhu9
The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here. We remove of_match_ptr() here.
Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
---
drivers/mfd/lochnagar-i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/lochnagar-i2c.c b/drivers/mfd/lochnagar-i2c.c
index 3c8843117080..59092f839d65 100644
--- a/drivers/mfd/lochnagar-i2c.c
+++ b/drivers/mfd/lochnagar-i2c.c
@@ -379,7 +379,7 @@ static int lochnagar_i2c_probe(struct i2c_client *i2c)
static struct i2c_driver lochnagar_i2c_driver = {
.driver = {
.name = "lochnagar",
- .of_match_table = of_match_ptr(lochnagar_of_match),
+ .of_match_table = lochnagar_of_match,
.suppress_bind_attrs = true,
},
.probe = lochnagar_i2c_probe,
--
2.17.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH -next 8/8] mfd: rn5t618: remove redundant of_match_ptr()
2023-08-08 13:00 [PATCH -next 0/8] mfd: remove redundant of_match_ptr() Zhu Wang
` (6 preceding siblings ...)
2023-08-08 13:00 ` [PATCH -next 7/8] mfd: lochnagar-i2c: " Zhu Wang
@ 2023-08-08 13:00 ` Zhu Wang
2023-08-17 12:59 ` (subset) [PATCH -next 0/8] mfd: " Lee Jones
8 siblings, 0 replies; 12+ messages in thread
From: Zhu Wang @ 2023-08-08 13:00 UTC (permalink / raw)
To: lee, thor.thayer, ckeepax, rf, patches, linux-kernel; +Cc: wangzhu9
The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here. We remove of_match_ptr() here.
Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
---
drivers/mfd/rn5t618.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/rn5t618.c b/drivers/mfd/rn5t618.c
index 333fef8729a5..0fe616b2db8e 100644
--- a/drivers/mfd/rn5t618.c
+++ b/drivers/mfd/rn5t618.c
@@ -277,7 +277,7 @@ static SIMPLE_DEV_PM_OPS(rn5t618_i2c_dev_pm_ops,
static struct i2c_driver rn5t618_i2c_driver = {
.driver = {
.name = "rn5t618",
- .of_match_table = of_match_ptr(rn5t618_of_match),
+ .of_match_table = rn5t618_of_match,
.pm = &rn5t618_i2c_dev_pm_ops,
},
.probe = rn5t618_i2c_probe,
--
2.17.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH -next 7/8] mfd: lochnagar-i2c: remove redundant of_match_ptr()
2023-08-08 13:00 ` [PATCH -next 7/8] mfd: lochnagar-i2c: " Zhu Wang
@ 2023-08-08 13:22 ` Charles Keepax
0 siblings, 0 replies; 12+ messages in thread
From: Charles Keepax @ 2023-08-08 13:22 UTC (permalink / raw)
To: Zhu Wang; +Cc: lee, thor.thayer, rf, patches, linux-kernel
On Tue, Aug 08, 2023 at 09:00:22PM +0800, Zhu Wang wrote:
> The driver depends on CONFIG_OF, so it is not necessary to use
> of_match_ptr() here. We remove of_match_ptr() here.
>
> Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
> ---
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks,
Charles
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: (subset) [PATCH -next 0/8] mfd: remove redundant of_match_ptr()
2023-08-08 13:00 [PATCH -next 0/8] mfd: remove redundant of_match_ptr() Zhu Wang
` (7 preceding siblings ...)
2023-08-08 13:00 ` [PATCH -next 8/8] mfd: rn5t618: " Zhu Wang
@ 2023-08-17 12:59 ` Lee Jones
2023-08-17 12:59 ` Lee Jones
8 siblings, 1 reply; 12+ messages in thread
From: Lee Jones @ 2023-08-17 12:59 UTC (permalink / raw)
To: lee, thor.thayer, ckeepax, rf, patches, linux-kernel, Zhu Wang
On Tue, 08 Aug 2023 21:00:15 +0800, Zhu Wang wrote:
> The driver depends on CONFIG_OF, so it is not necessary to use
> of_match_ptr() here. We remove of_match_ptr() here.
>
> Zhu Wang (8):
> mfd: rsmu_i2c: remove redundant of_match_ptr()
> mfd: altera-a10sr: remove redundant of_match_ptr()
> mfd: rsmu_spi: remove redundant of_match_ptr()
> mfd: act8945a: remove redundant of_match_ptr()
> mfd: stpmic1: remove redundant of_match_ptr()
> mfd: hi655x-pmic: remove redundant of_match_ptr()
> mfd: lochnagar-i2c: remove redundant of_match_ptr()
> mfd: rn5t618: remove redundant of_match_ptr()
>
> [...]
Applied, thanks!
[1/8] mfd: rsmu_i2c: remove redundant of_match_ptr()
commit: f2a34ca84bbb1ca3c4eb68134e5612b94038cf70
[2/8] mfd: altera-a10sr: remove redundant of_match_ptr()
commit: 511a6aec5229b4d3fe3ef45067b51ab8eaa52a2c
[3/8] mfd: rsmu_spi: remove redundant of_match_ptr()
commit: 9ca9f37cea730283be34ed8f418b97be6778e1f3
[4/8] mfd: act8945a: remove redundant of_match_ptr()
commit: 523b0a5912a64c80ac806adb24e736140cb68024
[5/8] mfd: stpmic1: remove redundant of_match_ptr()
commit: 475db34fa3e77b2f78a131c987d04a3a07a7b31d
[7/8] mfd: lochnagar-i2c: remove redundant of_match_ptr()
commit: 6d5c5c855c6f48678070bd4760d302143bcfa724
[8/8] mfd: rn5t618: remove redundant of_match_ptr()
commit: d98edddb79885a4c46cbf5bfcd57cc0e8a72a57b
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: (subset) [PATCH -next 0/8] mfd: remove redundant of_match_ptr()
2023-08-17 12:59 ` (subset) [PATCH -next 0/8] mfd: " Lee Jones
@ 2023-08-17 12:59 ` Lee Jones
0 siblings, 0 replies; 12+ messages in thread
From: Lee Jones @ 2023-08-17 12:59 UTC (permalink / raw)
To: thor.thayer, ckeepax, rf, patches, linux-kernel, Zhu Wang
On Thu, 17 Aug 2023, Lee Jones wrote:
> On Tue, 08 Aug 2023 21:00:15 +0800, Zhu Wang wrote:
> > The driver depends on CONFIG_OF, so it is not necessary to use
> > of_match_ptr() here. We remove of_match_ptr() here.
> >
> > Zhu Wang (8):
> > mfd: rsmu_i2c: remove redundant of_match_ptr()
> > mfd: altera-a10sr: remove redundant of_match_ptr()
> > mfd: rsmu_spi: remove redundant of_match_ptr()
> > mfd: act8945a: remove redundant of_match_ptr()
> > mfd: stpmic1: remove redundant of_match_ptr()
> > mfd: hi655x-pmic: remove redundant of_match_ptr()
> > mfd: lochnagar-i2c: remove redundant of_match_ptr()
> > mfd: rn5t618: remove redundant of_match_ptr()
> >
> > [...]
>
> Applied, thanks!
>
> [1/8] mfd: rsmu_i2c: remove redundant of_match_ptr()
> commit: f2a34ca84bbb1ca3c4eb68134e5612b94038cf70
> [2/8] mfd: altera-a10sr: remove redundant of_match_ptr()
> commit: 511a6aec5229b4d3fe3ef45067b51ab8eaa52a2c
> [3/8] mfd: rsmu_spi: remove redundant of_match_ptr()
> commit: 9ca9f37cea730283be34ed8f418b97be6778e1f3
> [4/8] mfd: act8945a: remove redundant of_match_ptr()
> commit: 523b0a5912a64c80ac806adb24e736140cb68024
> [5/8] mfd: stpmic1: remove redundant of_match_ptr()
> commit: 475db34fa3e77b2f78a131c987d04a3a07a7b31d
> [7/8] mfd: lochnagar-i2c: remove redundant of_match_ptr()
> commit: 6d5c5c855c6f48678070bd4760d302143bcfa724
> [8/8] mfd: rn5t618: remove redundant of_match_ptr()
> commit: d98edddb79885a4c46cbf5bfcd57cc0e8a72a57b
Notice that 6 did not apply cleanly.
Please rebase and resend.
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2023-08-17 13:00 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 13:00 [PATCH -next 0/8] mfd: remove redundant of_match_ptr() Zhu Wang
2023-08-08 13:00 ` [PATCH -next 1/8] mfd: rsmu_i2c: " Zhu Wang
2023-08-08 13:00 ` [PATCH -next 2/8] mfd: altera-a10sr: " Zhu Wang
2023-08-08 13:00 ` [PATCH -next 3/8] mfd: rsmu_spi: " Zhu Wang
2023-08-08 13:00 ` [PATCH -next 4/8] mfd: act8945a: " Zhu Wang
2023-08-08 13:00 ` [PATCH -next 5/8] mfd: stpmic1: " Zhu Wang
2023-08-08 13:00 ` [PATCH -next 6/8] mfd: hi655x-pmic: " Zhu Wang
2023-08-08 13:00 ` [PATCH -next 7/8] mfd: lochnagar-i2c: " Zhu Wang
2023-08-08 13:22 ` Charles Keepax
2023-08-08 13:00 ` [PATCH -next 8/8] mfd: rn5t618: " Zhu Wang
2023-08-17 12:59 ` (subset) [PATCH -next 0/8] mfd: " Lee Jones
2023-08-17 12:59 ` Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox