[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eb7101f6-0bfe-4e43-bb12-3be86692d8da@roeck-us.net>
Date: Wed, 9 Aug 2023 21:03:19 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Naresh Solanki <naresh.solanki@...ements.com>
Cc: krzysztof.kozlowski+dt@...aro.org,
Jean Delvare <jdelvare@...e.com>, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] hwmon: (max6639) Add compatible string
On Thu, Aug 03, 2023 at 04:44:00PM +0200, Naresh Solanki wrote:
> Use maxim,max6639 as compatible string for the driver.
>
> Signed-off-by: Naresh Solanki <Naresh.Solanki@...ements.com>
Applied to hwmon-next, but please consider updating your e-mail
addresses to either all say Naresh.Solanki@...ements.com or
naresh.nolanki@...ements.com to avoid nuisance checkpatch
warnings in the future.
Thanks,
Guenter
> ---
> Changes in V3:
> - None
> Changes in V2:
> - None, Updated DT patch
> ---
> drivers/hwmon/max6639.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/hwmon/max6639.c b/drivers/hwmon/max6639.c
> index caf527154fca..aa7f21ab2395 100644
> --- a/drivers/hwmon/max6639.c
> +++ b/drivers/hwmon/max6639.c
> @@ -618,11 +618,17 @@ MODULE_DEVICE_TABLE(i2c, max6639_id);
>
> static DEFINE_SIMPLE_DEV_PM_OPS(max6639_pm_ops, max6639_suspend, max6639_resume);
>
> +static const struct of_device_id max6639_of_match[] = {
> + { .compatible = "maxim,max6639", },
> + { },
> +};
> +
> static struct i2c_driver max6639_driver = {
> .class = I2C_CLASS_HWMON,
> .driver = {
> .name = "max6639",
> .pm = pm_sleep_ptr(&max6639_pm_ops),
> + .of_match_table = max6639_of_match,
> },
> .probe = max6639_probe,
> .id_table = max6639_id,
Powered by blists - more mailing lists