summaryrefslogtreecommitdiff
path: root/drivers/iio/common
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@intel.com>2015-06-05 14:03:11 +0300
committerJonathan Cameron <jic23@kernel.org>2015-06-07 18:33:12 +0300
commitbd35a214f56158d11e46c4a9d8436139f58e7099 (patch)
treece5d0b5fa679c51d45dfb564dfbd7cdc1e2de154 /drivers/iio/common
parenta52ffebcf19afea27588abe75828f9d300e08f3d (diff)
downloadlinux-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