linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] drivers: hwmon: ltc4282: Add support for LTC4282
       [not found] <CAACz5CVXy6CjgOXF-CUC3Zd54MBWWACd=E4GgwH9=2J1gT9ZSg@mail.gmail.com>
@ 2023-03-15 21:24 ` Guenter Roeck
  0 siblings, 0 replies; only message in thread
From: Guenter Roeck @ 2023-03-15 21:24 UTC (permalink / raw)
  To: Mohammed Danish Ali, jdelvare, corbet, linux-hwmon, linux-doc,
	linux-kernel

On 3/15/23 14:08, Mohammed Danish Ali wrote:
> Date: Wed, 15 Mar 2023 20:48:17 +0000
> 
> Added support for LTC4282: High Current Hot Swap Controller with I2C
> Compatible Monitoring
> 
> Signed-off-by: Mohammed Danish Ali <mohammed.danish.ali.14@gmail.com <mailto:mohammed.danish.ali.14@gmail.com>>
> ---

...

> +   hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name, data, ltc4282_groups);

include/hwmon/hwmon.h:

/*
  * hwmon_device_register_with_groups() and
  * devm_hwmon_device_register_with_groups() are deprecated.
  */

Documentation/hwmon/submitting-patches.rst:

* Use devm_hwmon_device_register_with_info() or, if your driver needs a remove
   function, hwmon_device_register_with_info() to register your driver with the
   hwmon subsystem. Try using devm_add_action() instead of a remove function if
   possible. Do not use any of the deprecated registration functions.
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Please resubmit.

Thanks,
Guenter


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-15 21:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAACz5CVXy6CjgOXF-CUC3Zd54MBWWACd=E4GgwH9=2J1gT9ZSg@mail.gmail.com>
2023-03-15 21:24 ` [PATCH] drivers: hwmon: ltc4282: Add support for LTC4282 Guenter Roeck

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).