diff mbox series

[v3,10/25] i2c: designware: Unify terminator in device ID tables

Message ID 20231110182304.3894319-11-andriy.shevchenko@linux.intel.com
State Superseded
Headers show
Series i2c: designware: code consolidation & cleanups | expand

Commit Message

Andy Shevchenko Nov. 10, 2023, 6:11 p.m. UTC
Make the terminator entry look the same in all device ID tables.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/i2c/busses/i2c-designware-pcidrv.c  | 2 +-
 drivers/i2c/busses/i2c-designware-platdrv.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Comments

Jarkko Nikula Nov. 17, 2023, 2:08 p.m. UTC | #1
On 11/10/23 20:11, Andy Shevchenko wrote:
> Make the terminator entry look the same in all device ID tables.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>   drivers/i2c/busses/i2c-designware-pcidrv.c  | 2 +-
>   drivers/i2c/busses/i2c-designware-platdrv.c | 4 ++--
>   2 files changed, 3 insertions(+), 3 deletions(-)
> 
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Jarkko Nikula Nov. 17, 2023, 2:18 p.m. UTC | #2
On 11/10/23 21:38, Mario Limonciello wrote:
> On 11/10/2023 12:11, Andy Shevchenko wrote:
>> Make the terminator entry look the same in all device ID tables.
>>
>> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>

Sorry replying twice, wanted to make sure Mario's tag is noted.

Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Andy Shevchenko Nov. 20, 2023, 2:17 p.m. UTC | #3
On Fri, Nov 17, 2023 at 04:18:13PM +0200, Jarkko Nikula wrote:
> On 11/10/23 21:38, Mario Limonciello wrote:
> > On 11/10/2023 12:11, Andy Shevchenko wrote:
> > > Make the terminator entry look the same in all device ID tables.
> > > 
> > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
> 
> Sorry replying twice, wanted to make sure Mario's tag is noted.

I am using `b4`, it collects tags from the entire thread (each email from it),
so no need to send twice or care about other's tags).

> Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>

Thank you for the review!
diff mbox series

Patch

diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c
index db642e0aa61f..7f04dc33e6f7 100644
--- a/drivers/i2c/busses/i2c-designware-pcidrv.c
+++ b/drivers/i2c/busses/i2c-designware-pcidrv.c
@@ -402,7 +402,7 @@  static const struct pci_device_id i2c_designware_pci_ids[] = {
 	{ PCI_VDEVICE(ATI,  0x73c4), navi_amd },
 	{ PCI_VDEVICE(ATI,  0x7444), navi_amd },
 	{ PCI_VDEVICE(ATI,  0x7464), navi_amd },
-	{ 0,}
+	{}
 };
 MODULE_DEVICE_TABLE(pci, i2c_designware_pci_ids);
 
diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c
index 5d8427ccc9b4..018c353a456a 100644
--- a/drivers/i2c/busses/i2c-designware-platdrv.c
+++ b/drivers/i2c/busses/i2c-designware-platdrv.c
@@ -57,7 +57,7 @@  static const struct acpi_device_id dw_i2c_acpi_match[] = {
 	{ "HISI02A2", 0 },
 	{ "HISI02A3", 0 },
 	{ "HYGO0010", ACCESS_INTR_MASK },
-	{ }
+	{}
 };
 MODULE_DEVICE_TABLE(acpi, dw_i2c_acpi_match);
 #endif
@@ -153,7 +153,7 @@  static const struct of_device_id dw_i2c_of_match[] = {
 	{ .compatible = "snps,designware-i2c", },
 	{ .compatible = "mscc,ocelot-i2c", .data = (void *)MODEL_MSCC_OCELOT },
 	{ .compatible = "baikal,bt1-sys-i2c", .data = (void *)MODEL_BAIKAL_BT1 },
-	{},
+	{}
 };
 MODULE_DEVICE_TABLE(of, dw_i2c_of_match);
 #else