mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Naresh Solanki <naresh.solanki@9elements.com>
Cc: krzysztof.kozlowski+dt@linaro.org,
	Jean Delvare <jdelvare@suse.com>,
	linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/2] hwmon: (max6639) Add compatible string
Date: Wed, 9 Aug 2023 21:03:19 -0700	[thread overview]
Message-ID: <eb7101f6-0bfe-4e43-bb12-3be86692d8da@roeck-us.net> (raw)
In-Reply-To: <20230803144401.1151065-2-Naresh.Solanki@9elements.com>

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@9elements.com>

Applied to hwmon-next, but please consider updating your e-mail
addresses to either all say Naresh.Solanki@9elements.com or
naresh.nolanki@9elements.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,

  reply	other threads:[~2023-08-10  4:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-03 14:43 [PATCH v3 1/2] dt-bindings: hwmon: Add MAX6639 Naresh Solanki
2023-08-03 14:44 ` [PATCH v3 2/2] hwmon: (max6639) Add compatible string Naresh Solanki
2023-08-10  4:03   ` Guenter Roeck [this message]
2023-08-04 15:48 ` [PATCH v3 1/2] dt-bindings: hwmon: Add MAX6639 Conor Dooley
2023-08-04 16:10   ` Guenter Roeck
2023-08-05 20:26     ` Krzysztof Kozlowski
2023-08-10 23:11     ` Rob Herring
2023-08-10 23:54       ` Guenter Roeck
2023-08-11 10:42       ` Naresh Solanki
2023-08-05 20:24 ` Krzysztof Kozlowski
2023-08-10  4:01 ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eb7101f6-0bfe-4e43-bb12-3be86692d8da@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=jdelvare@suse.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=naresh.solanki@9elements.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®