aboutsummaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2020-07-22 15:25:15 +0100
committerJonathan Cameron <[email protected]>2020-09-21 18:53:23 +0100
commit5fe68a4d85bfd7d0ed1a4bcfb12120e2b7dd26f5 (patch)
tree5f31488b6fc0144fe7e2739db139ab900952e79c /scripts/const_structs.checkpatch
parented33833ea822212a961e920b7b3c33dd299837cd (diff)
iio:dac:ad5592r: Fix use of true for IIO_SHARED_BY_TYPE
struct iio_chan_spec_ext_info shared element is of type enum iio_shared_by, not boolean. It's like the enum value will for IIO_SHARED_BY_TYPE == 1 == true, hence no actual problem has been observed. CC [M] drivers/iio/dac/ad5592r-base.o 491 | .shared = true, | Fixes: 56ca9db862bf ("iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs") Signed-off-by: Jonathan Cameron <[email protected]> Acked-by: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions