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 v6.0.16 by commit d66f68ac9e7ba46b6b90fbe25155723f2126088a, it was introduced in version v4.8 by commit d7c51b47ac11e66f547b55640405c1c474642d72. For more details please see the references link.