Skip to content
Commit da019f59 authored by Urs Fässler's avatar Urs Fässler Committed by Jonathan Cameron
Browse files

iio: ad5686: fix optional reference voltage declaration



When not using the "_optional" function, a dummy regulator is returned
and the driver fails to initialize.

Signed-off-by: default avatarUrs Fässler <urs.fassler@bytesatwork.ch>
Acked-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 9e128ced
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment