From: Tomas Novotny Date: Tue, 18 Oct 2016 17:43:06 +0000 (+0200) Subject: iio: dac: mcp4725: fix incorrect comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a31c225f5d5182cd711019f99a4e87c92884e2b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git iio: dac: mcp4725: fix incorrect comment Number 2 is referencing to the settings with the largest available resistor. No functional change. Signed-off-by: Tomas Novotny Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/dac/mcp4725.c b/drivers/iio/dac/mcp4725.c index 2b28b1f5b3a2..5b2dfa0a0d2c 100644 --- a/drivers/iio/dac/mcp4725.c +++ b/drivers/iio/dac/mcp4725.c @@ -374,7 +374,7 @@ static int mcp4725_probe(struct i2c_client *client, } pd = (inbuf[0] >> 1) & 0x3; data->powerdown = pd > 0 ? true : false; - data->powerdown_mode = pd ? pd - 1 : 2; /* largest register to gnd */ + data->powerdown_mode = pd ? pd - 1 : 2; /* largest resistor to gnd */ data->dac_value = (inbuf[1] << 4) | (inbuf[2] >> 4); err = iio_device_register(indio_dev);