diff options
author | Kalesh AP <[email protected]> | 2023-09-26 20:57:27 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-10-04 11:23:01 +0100 |
commit | 6ad71984aa6bb29813c80a7d5c4993966553a431 (patch) | |
tree | 047d6384f349edae4694ac3f06ac2d1b5f1ccb8c /tools/perf/scripts/python/task-analyzer.py | |
parent | 754fbf604ff6aa10a68a2dbf292da3e4cbc52c2e (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 <[email protected]>
Signed-off-by: Kalesh AP <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions