aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2020-05-27 02:24:17 +0000
committerGuenter Roeck <[email protected]>2020-05-26 20:24:49 -0700
commit59dd36f41ea6a5c69c1f737125251df2ff8eb5ce (patch)
tree66ad655e0a88a99776e354c047c0ce82c03244f1 /scripts/gdb/linux/modules.py
parent8054eadca71492f1c9421bcd58ac40f61d5e6e61 (diff)
hwmon: (amd_energy) Missing platform_driver_unregister() on error in amd_energy_init()
Add the missing platform_driver_unregister() before return from amd_energy_init() in the error handling case. Fixes: 8abee9566b7e ("hwmon: Add amd_energy driver to report energy counters") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Acked-by: Naveen krishna Chatradhi <[email protected]> Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions