Skip to content

Commit dccdff3

Browse files
nunojsajic23
authored andcommitted
iio: temperature: ltc2983: rename ltc2983_parse_dt()
Rename ltc2983_parse_dt() to ltc2983_parse_fw() as there's no explicit dependency on devicetree. No functional change intended... Signed-off-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20240222-ltc2983-misc-improv-v1-2-cf7d4457e98c@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 3bdb96c commit dccdff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/iio/temperature/ltc2983.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1346,7 +1346,7 @@ static irqreturn_t ltc2983_irq_handler(int irq, void *data)
13461346
__chan; \
13471347
})
13481348

1349-
static int ltc2983_parse_dt(struct ltc2983_data *st)
1349+
static int ltc2983_parse_fw(struct ltc2983_data *st)
13501350
{
13511351
struct device *dev = &st->spi->dev;
13521352
struct fwnode_handle *child;
@@ -1630,7 +1630,7 @@ static int ltc2983_probe(struct spi_device *spi)
16301630
st->eeprom_key = cpu_to_be32(LTC2983_EEPROM_KEY);
16311631
spi_set_drvdata(spi, st);
16321632

1633-
ret = ltc2983_parse_dt(st);
1633+
ret = ltc2983_parse_fw(st);
16341634
if (ret)
16351635
return ret;
16361636

0 commit comments

Comments
 (0)