From bd35a214f56158d11e46c4a9d8436139f58e7099 Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Fri, 5 Jun 2015 14:03:11 +0300 Subject: [PATCH] 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 Signed-off-by: Jonathan Cameron --- Reading git-format-patch failed