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