diff mbox series

[v4,07/24] i2c: designware: Add missing 'c' into PCI IDs variable name

Message ID 20231120144641.1660574-8-andriy.shevchenko@linux.intel.com
State Superseded
Delegated to: Andi Shyti
Headers show
Series i2c: designware: code consolidation & cleanups | expand

Commit Message

Andy Shevchenko Nov. 20, 2023, 2:41 p.m. UTC
Add missing 'c' into i2c_designware_pci_ids variable name.

Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/i2c/busses/i2c-designware-pcidrv.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Andi Shyti Nov. 27, 2023, 11:54 p.m. UTC | #1
Hi Andy,

On Mon, Nov 20, 2023 at 04:41:49PM +0200, Andy Shevchenko wrote:
> Add missing 'c' into i2c_designware_pci_ids variable name.
> 
> Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/i2c/busses/i2c-designware-pcidrv.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c
> index e67956845c19..ed2f9e7ba5d3 100644
> --- a/drivers/i2c/busses/i2c-designware-pcidrv.c
> +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c
> @@ -355,7 +355,7 @@ static void i2c_dw_pci_remove(struct pci_dev *pdev)
>  	i2c_del_adapter(&dev->adapter);
>  }
>  
> -static const struct pci_device_id i2_designware_pci_ids[] = {
> +static const struct pci_device_id i2c_designware_pci_ids[] = {
>  	/* Medfield */
>  	{ PCI_VDEVICE(INTEL, 0x0817), medfield },
>  	{ PCI_VDEVICE(INTEL, 0x0818), medfield },
> @@ -403,16 +403,16 @@ static const struct pci_device_id i2_designware_pci_ids[] = {
>  	{ PCI_VDEVICE(ATI,  0x7464), navi_amd },
>  	{ 0,}
>  };
> -MODULE_DEVICE_TABLE(pci, i2_designware_pci_ids);
> +MODULE_DEVICE_TABLE(pci, i2c_designware_pci_ids);
>  
>  static struct pci_driver dw_i2c_driver = {
>  	.name		= DRIVER_NAME,
> -	.id_table	= i2_designware_pci_ids,
>  	.probe		= i2c_dw_pci_probe,
>  	.remove		= i2c_dw_pci_remove,
>  	.driver         = {
>  		.pm     = &i2c_dw_pm_ops,
>  	},
> +	.id_table	= i2c_designware_pci_ids,

why this change?

Thanks,
Andi

>  };
>  module_pci_driver(dw_i2c_driver);
>  
> -- 
> 2.43.0.rc1.1.gbec44491f096
>
diff mbox series

Patch

diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c
index e67956845c19..ed2f9e7ba5d3 100644
--- a/drivers/i2c/busses/i2c-designware-pcidrv.c
+++ b/drivers/i2c/busses/i2c-designware-pcidrv.c
@@ -355,7 +355,7 @@  static void i2c_dw_pci_remove(struct pci_dev *pdev)
 	i2c_del_adapter(&dev->adapter);
 }
 
-static const struct pci_device_id i2_designware_pci_ids[] = {
+static const struct pci_device_id i2c_designware_pci_ids[] = {
 	/* Medfield */
 	{ PCI_VDEVICE(INTEL, 0x0817), medfield },
 	{ PCI_VDEVICE(INTEL, 0x0818), medfield },
@@ -403,16 +403,16 @@  static const struct pci_device_id i2_designware_pci_ids[] = {
 	{ PCI_VDEVICE(ATI,  0x7464), navi_amd },
 	{ 0,}
 };
-MODULE_DEVICE_TABLE(pci, i2_designware_pci_ids);
+MODULE_DEVICE_TABLE(pci, i2c_designware_pci_ids);
 
 static struct pci_driver dw_i2c_driver = {
 	.name		= DRIVER_NAME,
-	.id_table	= i2_designware_pci_ids,
 	.probe		= i2c_dw_pci_probe,
 	.remove		= i2c_dw_pci_remove,
 	.driver         = {
 		.pm     = &i2c_dw_pm_ops,
 	},
+	.id_table	= i2c_designware_pci_ids,
 };
 module_pci_driver(dw_i2c_driver);