[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DB6PR0401MB243843B6CAF36CBECFE742BB8F320@DB6PR0401MB2438.eurprd04.prod.outlook.com>
Date: Tue, 29 Sep 2020 10:18:59 +0000
From: "Biwen Li (OSS)" <biwen.li@....nxp.com>
To: Guenter Roeck <linux@...ck-us.net>,
"Biwen Li (OSS)" <biwen.li@....nxp.com>
CC: "jdelvare@...e.com" <jdelvare@...e.com>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"mark.rutland@....com" <mark.rutland@....com>,
"linux-hwmon@...r.kernel.org" <linux-hwmon@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Reinhard Pfau <pfau@...ys.de>
Subject: RE: [PATCH] hwmon: add support for SMSC EMC2305/03/02/01 fan
controller
> > +
> > + hwmon_dev = devm_hwmon_device_register_with_groups(&client->dev,
> > + client->name, data,
> > + data->groups);
>
> New drivers must use "[devm_]hwmon_device_register_with_info" to register
> with the hwmon subsystem.
Hi Guenter,
Got it, thanks.
Best Regards,
Biwen Li
>
> Guenter
Powered by blists - more mailing lists