staging:iio:magnetometer:hmc5843: allocate device state with iio_dev.