On Thu, Dec 31, 2020 at 08:39:47PM +0800, Campion Kang wrote:
> This is one of sub-device driver for Advantech embedded controller
> AHC1EC0. This driver provides sysfs ABI for Advantech related
> applications to monitor the system status.
> 
> Signed-off-by: Campion Kang <campion.k...@advantech.com.tw>
> ---
>  drivers/hwmon/Kconfig         |  10 +

[ ... ]

> +     lmsensor_data.hwmon_dev = 
> devm_hwmon_device_register_with_groups(&pdev->dev,
> +                     "ahc1ec0-hwmon", adv_ec_data, ahc1ec0_groups);

New drivers must use [devm_]hwmon_device_register_with_info() and will
otherwise not be accepted.

Guenter

Reply via email to