summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>2023-09-26 20:57:27 -0700
committerDavid S. Miller <davem@davemloft.net>2023-10-04 11:23:01 +0100
commit6ad71984aa6bb29813c80a7d5c4993966553a431 (patch)
tree047d6384f349edae4694ac3f06ac2d1b5f1ccb8c /lib/crypto/mpi/mpi-sub-ui.c
parent754fbf604ff6aa10a68a2dbf292da3e4cbc52c2e (diff)
bnxt_en: Enhance hwmon temperature reporting
Driver currently does hwmon device register and unregister in open and close() respectively. As a result, user will not be able to query hwmon temperature when interface is in ifdown state. Enhance it by moving the hwmon register/unregister to the probe/remove functions. Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> 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