lm-sensors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH 2/2] hwmon: (nct6775) Add support for NCT6793D
Date: Wed, 02 Sep 2015 15:37:06 +0000	[thread overview]
Message-ID: <55E717A2.2080109@roeck-us.net> (raw)
In-Reply-To: <1372180269-3213-2-git-send-email-linux@roeck-us.net>

Hi Jean,

On 09/02/2015 01:45 AM, Jean Delvare wrote:
> Hi Guenter,
>
> On Mon, 31 Aug 2015 16:57:33 -0700, Guenter Roeck wrote:
>> NCT6793D is register compatible with NCT6792D.
>>
>> Tested-by: Grazvydas Ignotas <notasas@gmail.com>
>> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
>> ---
>>   Documentation/hwmon/nct6775 |  4 ++++
>>   drivers/hwmon/Kconfig       |  4 ++--
>>   drivers/hwmon/nct6775.c     | 29 ++++++++++++++++++++++-------
>>   3 files changed, 28 insertions(+), 9 deletions(-)
>> (...)
>
> Looks good to me (didn't check the datasheet, trusting you on the fact

I only cound one difference: The "3-wire enable" register (index 0x31 in
various banks) no longer exists. It isn't used by the driver, so no change
was needed. Of course, I may have missed some swapped registers ...

> that the chips are compatible) except that you forgot to add a name
> string for the new chip to nct6775_sio_names[].
>
Good catch!

> With that fixed:
> Reviewed-by: Jean Delvare <jdelvare@suse.de>
>
> Note: given that enum kinds is used to index nct6775_sio_names[], it
> would feel safer to have nct6775_sio_names[] defined closer to enum
> kinds, as nct6775_device_names[] is already.
>
I did that.

Thanks a lot for the review.

Guenter


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

      parent reply	other threads:[~2015-09-02 15:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-25 17:11 [lm-sensors] [PATCH 2/2] hwmon: (nct6775) Add support for NCT6791D Guenter Roeck
2015-08-31 23:57 ` [lm-sensors] [PATCH 2/2] hwmon: (nct6775) Add support for NCT6793D Guenter Roeck
2015-09-02  8:45 ` Jean Delvare
2015-09-02 15:37 ` Guenter Roeck [this message]

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=55E717A2.2080109@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=lm-sensors@vger.kernel.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).