gpiolib: cdev: fix NULL-pointer dereferences
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.86 by commit 7c755a2d6df511eeb5afba966ac28140f9ea5063, it was introduced in version v4.8 by commit d7c51b47ac11e66f547b55640405c1c474642d72. For more details please see the references link.