Commit 707182b4 authored by Guoqing Chi's avatar Guoqing Chi Committed by Jonathan Cameron

iio: adc: ad7292: Modify the bool initialization assignment

A bool initializer is best assigned to false rather than 0.
Signed-off-by: default avatarGuoqing Chi <chiguoqing@yulong.com>
Reviewed-by: default avatarMarcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://lore.kernel.org/r/20210319062706.5135-1-chi962464zy@163.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 80346b2b
......@@ -260,7 +260,7 @@ static int ad7292_probe(struct spi_device *spi)
struct ad7292_state *st;
struct iio_dev *indio_dev;
struct device_node *child;
bool diff_channels = 0;
bool diff_channels = false;
int ret;
indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st));
......
Markdown is supported
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