diff options
| author | Kalesh AP <kalesh-anakkur.purayil@broadcom.com> | 2023-09-26 20:57:29 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-10-04 11:23:01 +0100 |
| commit | 847da8b1178c9a3ccfc86e72a5a0433509e32802 (patch) | |
| tree | 75b038fe7e164468481da7b253f6ec80f068a7d3 /lib/crypto/mpi/mpi-sub-ui.c | |
| parent | a47f3b3992aa7666227e2e48d45fd6b8bc8053be (diff) | |
bnxt_en: Modify the driver to use hwmon_device_register_with_info
The use of hwmon_device_register_with_groups() is deprecated.
Modified the driver to use hwmon_device_register_with_info().
Driver currently exports only temp1_input through hwmon sysfs
interface. But FW has been modified to report more threshold
temperatures and driver want to report them through the
hwmon interface.
Cc: Jean Delvare <jdelvare@suse.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
