summaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorNuno Sa <nuno.sa@analog.com>2024-10-09 17:16:43 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-10 21:12:42 +0300
commitf1a5d7795fb0dea2ce547d8a5edbc7f595795974 (patch)
treeaa5c34065cb873221e8c186c97e9bb3540ef5ce6 /drivers/platform/surface/aggregator/ssh_parser.c
parent3eb27cf141365f32046168c9bc5da4076c400e35 (diff)
downloadlinux-f1a5d7795fb0dea2ce547d8a5edbc7f595795974.tar.xz
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/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions