lkml.org 
[lkml]   [2020]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] hwmon: add support for SMSC EMC2305/03/02/01 fan controller
Date
> > +
> > + 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

\
 
 \ /
  Last update: 2020-09-29 12:20    [W:0.067 / U:2.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site