mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 09:16:33 +00:00
ASoC: ssm3515: Remove redundant of_match_ptr()
The driver depends on CONFIG_OF, it is not necessary to use of_match_ptr() here. Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com Link: https://lore.kernel.org/r/20230811071426.2343133-5-ruanjinjie@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org
This commit is contained in:
parent
29546c3af6
commit
6136b6a281
@ -437,7 +437,7 @@ MODULE_DEVICE_TABLE(of, ssm3515_of_match);
|
||||
static struct i2c_driver ssm3515_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "ssm3515",
|
||||
.of_match_table = of_match_ptr(ssm3515_of_match),
|
||||
.of_match_table = ssm3515_of_match,
|
||||
},
|
||||
.probe = ssm3515_i2c_probe,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user