Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Nuno Sa and committed by
Jonathan Cameron
dccdff35 3bdb96c9

+2 -2
+2 -2
drivers/iio/temperature/ltc2983.c
··· 1346 1346 __chan; \ 1347 1347 }) 1348 1348 1349 - static int ltc2983_parse_dt(struct ltc2983_data *st) 1349 + static int ltc2983_parse_fw(struct ltc2983_data *st) 1350 1350 { 1351 1351 struct device *dev = &st->spi->dev; 1352 1352 struct fwnode_handle *child; ··· 1630 1630 st->eeprom_key = cpu_to_be32(LTC2983_EEPROM_KEY); 1631 1631 spi_set_drvdata(spi, st); 1632 1632 1633 - ret = ltc2983_parse_dt(st); 1633 + ret = ltc2983_parse_fw(st); 1634 1634 if (ret) 1635 1635 return ret; 1636 1636