diff options
author | Daniel Baluta <daniel.baluta@intel.com> | 2015-06-05 14:03:11 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-06-07 18:33:12 +0300 |
commit | bd35a214f56158d11e46c4a9d8436139f58e7099 (patch) | |
tree | ce5d0b5fa679c51d45dfb564dfbd7cdc1e2de154 /drivers/iio/common | |
parent | a52ffebcf19afea27588abe75828f9d300e08f3d (diff) | |
download | linux-bd35a214f56158d11e46c4a9d8436139f58e7099.tar.xz |
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>
Diffstat (limited to 'drivers/iio/common')
0 files changed, 0 insertions, 0 deletions