Commit c954cd7
committed
soc/tegra: pmc: Use devm_clk_notifier_register()
Move to the device-managed version of clk_notifier_register() to remove
the need for manual cleanup. This fixes a potential issue where the
clock notifier would stick around after the driver fails to probe at a
later point.
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>1 parent bae9fb2 commit c954cd7
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2992 | 2992 | | |
2993 | 2993 | | |
2994 | 2994 | | |
2995 | | - | |
| 2995 | + | |
| 2996 | + | |
2996 | 2997 | | |
2997 | 2998 | | |
2998 | 2999 | | |
| |||
3052 | 3053 | | |
3053 | 3054 | | |
3054 | 3055 | | |
3055 | | - | |
3056 | 3056 | | |
3057 | 3057 | | |
3058 | 3058 | | |
| |||
0 commit comments