[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20e0a388-79a1-a7f1-57b4-fa5993eed9bf@arm.com>
Date: Mon, 7 Aug 2017 13:25:14 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Sudeep Holla <sudeep.holla@....com>,
ALKML <linux-arm-kernel@...ts.infradead.org>,
LKML <linux-kernel@...r.kernel.org>,
DTML <devicetree@...r.kernel.org>,
Roy Franz <roy.franz@...ium.com>,
Harb Abdulhamid <harba@...eaurora.org>,
Nishanth Menon <nm@...com>, Arnd Bergmann <arnd@...db.de>,
Loc Ho <lho@....com>, Alexey Klimov <alexey.klimov@....com>,
Ryan Harkin <Ryan.Harkin@....com>,
Jassi Brar <jassisinghbrar@...il.com>,
linux-hwmon@...r.kernel.org
Subject: Re: [PATCH v2 16/18] hwmon: add support for sensors exported via ARM
SCMI
On 04/08/17 20:32, Guenter Roeck wrote:
> On Fri, Aug 04, 2017 at 03:31:42PM +0100, Sudeep Holla wrote:
[...]
>> + platform_set_drvdata(pdev, scmi_sensors);
>> +
>> + hwdev = devm_hwmon_device_register_with_groups(dev, "scmi_sensors",
>> + scmi_sensors,
>> + scmi_sensors->groups);
>
> Can you rework this to use devm_hwmon_device_register_with_info(),
> and if possible let it handle the thermal registration ?
>
Thanks for the pointers. I will check on the possibility and use it if
possible.
--
Regards,
Sudeep
Powered by blists - more mailing lists