mirror of
https://github.com/torvalds/linux.git
synced 2025-11-05 11:10:22 +02:00
If 'mfd_add_devices()' fails, we must undo 'zynqmp_pm_api_debugfs_init()'
otherwise some debugfs directory and files will be left.
Just move the call to 'zynqmp_pm_api_debugfs_init()' a few lines below to
fix the issue.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| zynqmp-debug.c | ||
| zynqmp-debug.h | ||
| zynqmp.c | ||