* [PATCH] mfd: sprd: change the device_id data order
@ 2022-04-27 7:52 Cixi Geng
2022-04-27 9:19 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Cixi Geng @ 2022-04-27 7:52 UTC (permalink / raw)
To: lee.jones, orsonzhai, baolin.wang7, zhang.lyra; +Cc: linux-kernel
From: Cixi Geng <cixi.geng1@unisoc.com>
Ordered with the smallest number at the top.
Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com>
---
drivers/mfd/sprd-sc27xx-spi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c
index cf4f89114ae4..d05a47c5187f 100644
--- a/drivers/mfd/sprd-sc27xx-spi.c
+++ b/drivers/mfd/sprd-sc27xx-spi.c
@@ -240,15 +240,15 @@ static int sprd_pmic_resume(struct device *dev)
static SIMPLE_DEV_PM_OPS(sprd_pmic_pm_ops, sprd_pmic_suspend, sprd_pmic_resume);
static const struct of_device_id sprd_pmic_match[] = {
- { .compatible = "sprd,sc2731", .data = &sc2731_data },
{ .compatible = "sprd,sc2730", .data = &sc2730_data },
+ { .compatible = "sprd,sc2731", .data = &sc2731_data },
{},
};
MODULE_DEVICE_TABLE(of, sprd_pmic_match);
static const struct spi_device_id sprd_pmic_spi_ids[] = {
- { .name = "sc2731", .driver_data = (unsigned long)&sc2731_data },
{ .name = "sc2730", .driver_data = (unsigned long)&sc2730_data },
+ { .name = "sc2731", .driver_data = (unsigned long)&sc2731_data },
{},
};
MODULE_DEVICE_TABLE(spi, sprd_pmic_spi_ids);
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mfd: sprd: change the device_id data order
2022-04-27 7:52 [PATCH] mfd: sprd: change the device_id data order Cixi Geng
@ 2022-04-27 9:19 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2022-04-27 9:19 UTC (permalink / raw)
To: Cixi Geng; +Cc: orsonzhai, baolin.wang7, zhang.lyra, linux-kernel
On Wed, 27 Apr 2022, Cixi Geng wrote:
> From: Cixi Geng <cixi.geng1@unisoc.com>
>
> Ordered with the smallest number at the top.
>
> Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com>
> ---
> drivers/mfd/sprd-sc27xx-spi.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-27 9:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-27 7:52 [PATCH] mfd: sprd: change the device_id data order Cixi Geng
2022-04-27 9:19 ` Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox