summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/dpot-dac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/dpot-dac.c')
-rw-r--r--drivers/iio/dac/dpot-dac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/dpot-dac.c b/drivers/iio/dac/dpot-dac.c
index b3835fb6b862..be61c3b01e8b 100644
--- a/drivers/iio/dac/dpot-dac.c
+++ b/drivers/iio/dac/dpot-dac.c
@@ -78,7 +78,7 @@ static int dpot_dac_read_raw(struct iio_dev *indio_dev,
*/
*val2 = 1;
ret = IIO_VAL_FRACTIONAL;
- /* fall through */
+ fallthrough;
case IIO_VAL_FRACTIONAL:
*val *= regulator_get_voltage(dac->vref) / 1000;
*val2 *= dac->max_ohms;