gpio: mockup: fix NULL pointer dereference when removing debugfs
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.15.71 by commit 18352095a0d581f6aeb1e9fc9d68cc0152cd64b4, it was introduced in version v5.15.69 by commit 3a10e8edee2b45a654f1f7b05f747129ec84cf9d. For more details please see the references link.