linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Rosin <peda@axentia.se>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: Peter Rosin <peda@axentia.se>, Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>,
	"linux-hwmon@vger.kernel.org" <linux-hwmon@vger.kernel.org>
Subject: [PATCH 0/2] hwmon: (ntc_thermistor) sort thermistors
Date: Wed, 21 Nov 2018 16:03:35 +0000	[thread overview]
Message-ID: <20181121160327.16772-1-peda@axentia.se> (raw)
In-Reply-To: <b732b7e0-0076-9cb3-a146-4d0cd80d2658@roeck-us.net>

Hi!

These patches are on top of https://patchwork.kernel.org/patch/10687455/
("hwmon: (ntc_thermistor): add support for B57891S0103 from Epcos")

I suspect the bots will be confused since that patch is not applied yet.

Also, patch 2 of this series has a false positive check-patch issue [1].
At least with my copy of check-patch. I suspect check-patch warns about
the macro in case it is ever used to something other than to initialize
an array, but I fail to see how that would be possible and am therefore
ignoring the issue.

Further, check-patch warns about patch 1 since I appear to add DT
compatibles that are not documented. But of course, I'm not adding them,
I'm just moving them about, so I'm ignoring that too.

Cheers,
Peter

[1] check-patch output is as below

CHECK: Macro argument reuse 'compensation' - possible side-effects?
#28: FILE: drivers/hwmon/ntc_thermistor.c:323:
+#define NTC_TYPE(ntc, compensation) \
+[(ntc)] = { .comp = (compensation), .n_comp = ARRAY_SIZE(compensation) }


Peter Rosin (2):
  hwmon: (ntc_thermistor) sort thermistor id lists alphabetically
  hwmon: (ntc_thermistor) use a table to lookup the thermistor type

 drivers/hwmon/ntc_thermistor.c               | 129 +++++++++++++++------------
 include/linux/platform_data/ntc_thermistor.h |   6 +-
 2 files changed, 73 insertions(+), 62 deletions(-)

-- 
2.11.0

  reply	other threads:[~2018-11-21 16:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-17 12:12 [PATCH 1/2] dt-bindings: hwmon: add B57891S0103 thermistor from Epcos Peter Rosin
2018-11-17 12:13 ` [PATCH 2/2] hwmon: (ntc_thermistor): add support for B57891S0103 " Peter Rosin
2018-11-19 17:07   ` Guenter Roeck
2018-11-19 21:16     ` Peter Rosin
2018-11-19 21:28       ` Guenter Roeck
2018-11-21  6:06         ` Peter Rosin
2018-11-21  8:42           ` Guenter Roeck
2018-11-21 16:03             ` Peter Rosin [this message]
2018-11-21 16:03               ` [PATCH 1/2] hwmon: (ntc_thermistor) sort thermistor id lists alphabetically Peter Rosin
2018-12-01 18:39                 ` Guenter Roeck
2018-11-21 16:03               ` [PATCH 2/2] hwmon: (ntc_thermistor) use a table to lookup the thermistor type Peter Rosin
2018-12-01 18:40                 ` Guenter Roeck
2018-12-01 18:38   ` [PATCH 2/2] hwmon: (ntc_thermistor): add support for B57891S0103 from Epcos Guenter Roeck
2018-12-01 18:37 ` [PATCH 1/2] dt-bindings: hwmon: add B57891S0103 thermistor " 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=20181121160327.16772-1-peda@axentia.se \
    --to=peda@axentia.se \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /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 NNTP newsgroup(s).