summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorPeter Bergin <peter@berginkonsult.se>2022-10-31 21:37:23 +0100
committerMark Brown <broonie@kernel.org>2022-11-01 12:00:02 +0000
commite5afc8677c0d9be4bea5ef5ab01719e190450943 (patch)
treeac5e032a8982e05c3030416392c4e26ff543dab4 /drivers/w1
parentf8fbf0dc702bf15b8b0ea1731a353bdb7faee8fd (diff)
downloadlwn-e5afc8677c0d9be4bea5ef5ab01719e190450943.tar.gz
lwn-e5afc8677c0d9be4bea5ef5ab01719e190450943.zip
ASoC: cs42xx8-i2c.c: add module device table for of
When trying to connect the device with the driver through device-tree it is not working. The of_device_id is defined in cs42xx8.c but is not correctly included in cs42xx8-i2c.c. Move of_device_id table to cs42xx8-i2c.c. Get cs42xx8_driver_data in cs42xx8_i2c_probe() and pass as argument to cs42xx8_probe(). Move error check if no driver data found to cs42xx8_i2c_probe(). Signed-off-by: Peter Bergin <peter@berginkonsult.se> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20221031203723.168177-1-peter@berginkonsult.se Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions