aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorNuno Sa <nuno.sa@analog.com>2024-10-09 16:16:43 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-10 19:12:42 +0100
commitf1a5d7795fb0dea2ce547d8a5edbc7f595795974 (patch)
treeaa5c34065cb873221e8c186c97e9bb3540ef5ce6 /drivers/iio/trigger/stm32-timer-trigger.c
parent3eb27cf141365f32046168c9bc5da4076c400e35 (diff)
downloadlinux-f1a5d7795fb0dea2ce547d8a5edbc7f595795974.tar.gz
linux-f1a5d7795fb0dea2ce547d8a5edbc7f595795974.tar.bz2
linux-f1a5d7795fb0dea2ce547d8a5edbc7f595795974.zip
iio: frequency: adf4371: make use of spi_get_device_match_data()
To use spi_get_device_match_data(), add the chip_info structure to the of_device_id table which is always a good thing to do. While at it, added dedicated variables for each chip (instead of the harder to maintain array) and added a new string variable for the part name. Signed-off-by: Nuno Sa <nuno.sa@analog.com> Link: https://patch.msgid.link/20241009-dev-adf4371-minor-improv-v1-1-97f4f22ed941@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions