[openEuler-5.10 119/303] iio: dac: ad5624r: Fix incorrect handling of an optional regulator.