iio: accel: mma8452: use the correct logic to get mma8452_data
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.17.2 by commit d2d9ebdbff79d87d27652578e6d1638ad3b5f3bf, it was introduced in version v4.4 by commit c3cdd6e48e35b7a02f28e301ef30a87ff3cd6527. For more details please see the references link.