2016-11-16 09:17:41

by Venkat Reddy Talla

[permalink] [raw]
Subject: [PATCH] gpio: max77620: add compatible string to device id list

From: Venkat Reddy Talla <[email protected]>

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

Signed-off-by: Venkat Reddy Talla <[email protected]>
---
drivers/gpio/gpio-max77620.c | 1 +
1 file changed, 1 insertion(+)

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);
--
2.1.4


2016-11-16 19:52:47

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] gpio: max77620: add compatible string to device id list

On Wed, Nov 16, 2016 at 10:17 AM, Shardar Shariff Md
<[email protected]> wrote:

> From: Venkat Reddy Talla <[email protected]>
>
> Adding max20024 compatible string to the device id list
> to support both max77620 and max20024 devices.
>
> Signed-off-by: Venkat Reddy Talla <[email protected]>

Patch applied.

Yours,
Linus Walleij