Skip to content
Snippets Groups Projects
Commit c036a324 authored by Giuliano Belinassi's avatar Giuliano Belinassi Committed by Jonathan Cameron
Browse files

staging: iio: ad7780: generates pattern_mask from PAT bits


Previously, all pattern_masks and patterns in the chip_info table were
hardcoded. Now they are generated using the PAT macros, as described in
the datasheets.

Signed-off-by: default avatarGiuliano Belinassi <giuliano.belinassi@usp.br>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 23da6a15
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment