mtd: rawnand: gpmi: don't leak PM reference in error path
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.16.11 by commit 58d3111eafce9e4398654b07f0b1dac27f26ee5b, it was introduced in version v5.16.3 by commit c447696e2f825df7800b0630352bea2d45d09baa. For more details please see the references link.