rtc: mt6397: check return value after calling platformgetresource()
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 v4.19.247 by commit 6ecd4d5c28408df36a1a6f0b1973f633c949ac1f, it was introduced in version v4.2 by commit fc2979118f3f5193475cb53d5df7bdaa7e358a42. For more details please see the references link.