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.9.318 by commit 3867f0bbb94773d41e789257abec0d14f37da217, it was introduced in version v4.2 by commit fc2979118f3f5193475cb53d5df7bdaa7e358a42. For more details please see the references link.