diff mbox

gpio: max77620: add compatible string to device id list

Message ID 1479287843-29838-1-git-send-email-vreddytalla@nvidia.com
State New
Headers show

Commit Message

Venkat Reddy Talla Nov. 16, 2016, 9:17 a.m. UTC
From: Venkat Reddy Talla <vreddytalla@nvidia.com>

Adding max20024 compatible string to the device id list
to support both max77620 and max20024 devices.

Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
---
 drivers/gpio/gpio-max77620.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij Nov. 16, 2016, 7:52 p.m. UTC | #1
On Wed, Nov 16, 2016 at 10:17 AM, Shardar Shariff Md
<vreddytalla@nvidia.com> wrote:

> From: Venkat Reddy Talla <vreddytalla@nvidia.com>
>
> Adding max20024 compatible string to the device id list
> to support both max77620 and max20024 devices.
>
> Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/gpio/gpio-max77620.c b/drivers/gpio/gpio-max77620.c
index b46b436..7bb2f11 100644
--- a/drivers/gpio/gpio-max77620.c
+++ b/drivers/gpio/gpio-max77620.c
@@ -296,6 +296,7 @@  static int max77620_gpio_probe(struct platform_device *pdev)
 
 static const struct platform_device_id max77620_gpio_devtype[] = {
 	{ .name = "max77620-gpio", },
+	{ .name = "max20024-gpio", },
 	{},
 };
 MODULE_DEVICE_TABLE(platform, max77620_gpio_devtype);