Skip to content
Commit cadf8f2d authored by William Breathitt Gray's avatar William Breathitt Gray Committed by Greg Kroah-Hartman
Browse files

iio: adc: stx104: Implement and utilize register structures



[ Upstream commit 6cfd14c5 ]

Reduce magic numbers and improve code readability by implementing and
utilizing named register data structures.

Tested-by: default avatarFred Eckert <Frede@cmslaser.com>
Signed-off-by: default avatarWilliam Breathitt Gray <william.gray@linaro.org>
Link: https://lore.kernel.org/r/8cb91d5b53e57b066120e42ea07000d6c7ef5543.1657213745.git.william.gray@linaro.org


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Stable-dep-of: 4f9b80ae ("iio: addac: stx104: Fix race condition when converting analog-to-digital")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6089d354
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment