mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 08:18:12 +07:00
95590a6286
of_find_device_by_node takes a reference to the struct device when it
finds a match via get_device. but it fails to put_device in
at91_pm_config_ws, for_each_matching_node_and_match will get and put
the node properly, there is no need to call the of_put_node. Therefore,
just call put_device instead of of_node_put in at91_pm_config_ws.
Fixes:
|
||
---|---|---|
.. | ||
at91rm9200.c | ||
at91sam9.c | ||
generic.h | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
pm_data-offsets.c | ||
pm_suspend.S | ||
pm.c | ||
pm.h | ||
sama5.c | ||
samv7.c |