media: mgb4: Fix debugfs error handling

Fix broken handling of debugfs_create_dir() errors including errors
creating the parent mgb4(PCIe) device's debugfs directory.

Signed-off-by: Martin Tůma <martin.tuma@digiteqautomotive.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
Martin Tůma 2024-08-26 15:26:04 +02:00 • committed by Hans Verkuil
commit 9d31522aa5
6 changed files with 22 additions and 40 deletions