Skip to content

Commit 256d4b8

Browse files
tititiou36Jonathan Cameron
authored andcommitted
iio: dac: ad5592r: Fix a typo in the name of a function
This module is related to AD5592R, not AD5593R, so be consistent in naming. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 94cbf61 commit 256d4b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/iio/dac/ad5592r.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static int ad5592r_reg_read(struct ad5592r_state *st, u8 reg, u16 *value)
9898
return 0;
9999
}
100100

101-
static int ad5593r_gpio_read(struct ad5592r_state *st, u8 *value)
101+
static int ad5592r_gpio_read(struct ad5592r_state *st, u8 *value)
102102
{
103103
int ret;
104104

@@ -121,7 +121,7 @@ static const struct ad5592r_rw_ops ad5592r_rw_ops = {
121121
.read_adc = ad5592r_read_adc,
122122
.reg_write = ad5592r_reg_write,
123123
.reg_read = ad5592r_reg_read,
124-
.gpio_read = ad5593r_gpio_read,
124+
.gpio_read = ad5592r_gpio_read,
125125
};
126126

127127
static int ad5592r_spi_probe(struct spi_device *spi)

0 commit comments

Comments
 (0)