commit | bd35a214f56158d11e46c4a9d8436139f58e7099 | [log] [tgz] |
---|---|---|
author | Daniel Baluta <daniel.baluta@intel.com> | Fri Jun 05 14:03:11 2015 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jun 07 16:33:12 2015 +0100 |
tree | ce5d0b5fa679c51d45dfb564dfbd7cdc1e2de154 | |
parent | a52ffebcf19afea27588abe75828f9d300e08f3d [diff] |
iio: magnetometer: mmc35240: NULL terminate attribute array This avoid nasty crashes when registering the IIO device. Fixes: abeb6b1e7b ("iio: magnetometer: Add support for MEMSIC MMC35240") Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>