mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 21:53:44 +00:00
sound: Remove redundant of_match_ptr() macro
Merge series from Ruan Jinjie <ruanjinjie@huawei.com>: Since these sound drivers depend on CONFIG_OF, there is no need to wrap the macro of_match_ptr() here.
This commit is contained in:
commit
690f5c8d6a
@ -366,7 +366,7 @@ MODULE_DEVICE_TABLE(of, snd_serial_generic_dt_ids);
|
||||
static struct serdev_device_driver snd_serial_generic_driver = {
|
||||
.driver = {
|
||||
.name = "snd-serial-generic",
|
||||
.of_match_table = of_match_ptr(snd_serial_generic_dt_ids),
|
||||
.of_match_table = snd_serial_generic_dt_ids,
|
||||
},
|
||||
.probe = snd_serial_generic_probe,
|
||||
};
|
||||
|
@ -730,7 +730,7 @@ static void atmel_i2s_remove(struct platform_device *pdev)
|
||||
static struct platform_driver atmel_i2s_driver = {
|
||||
.driver = {
|
||||
.name = "atmel_i2s",
|
||||
.of_match_table = of_match_ptr(atmel_i2s_dt_ids),
|
||||
.of_match_table = atmel_i2s_dt_ids,
|
||||
},
|
||||
.probe = atmel_i2s_probe,
|
||||
.remove_new = atmel_i2s_remove,
|
||||
|
@ -690,7 +690,7 @@ static int atmel_pdmic_probe(struct platform_device *pdev)
|
||||
static struct platform_driver atmel_pdmic_driver = {
|
||||
.driver = {
|
||||
.name = "atmel-pdmic",
|
||||
.of_match_table = of_match_ptr(atmel_pdmic_of_match),
|
||||
.of_match_table = atmel_pdmic_of_match,
|
||||
.pm = &snd_soc_pm_ops,
|
||||
},
|
||||
.probe = atmel_pdmic_probe,
|
||||
|
@ -1098,7 +1098,7 @@ static void mchp_i2s_mcc_remove(struct platform_device *pdev)
|
||||
static struct platform_driver mchp_i2s_mcc_driver = {
|
||||
.driver = {
|
||||
.name = "mchp_i2s_mcc",
|
||||
.of_match_table = of_match_ptr(mchp_i2s_mcc_dt_ids),
|
||||
.of_match_table = mchp_i2s_mcc_dt_ids,
|
||||
},
|
||||
.probe = mchp_i2s_mcc_probe,
|
||||
.remove_new = mchp_i2s_mcc_remove,
|
||||
|
@ -1197,7 +1197,7 @@ static struct platform_driver mchp_spdifrx_driver = {
|
||||
.remove_new = mchp_spdifrx_remove,
|
||||
.driver = {
|
||||
.name = "mchp_spdifrx",
|
||||
.of_match_table = of_match_ptr(mchp_spdifrx_dt_ids),
|
||||
.of_match_table = mchp_spdifrx_dt_ids,
|
||||
.pm = pm_ptr(&mchp_spdifrx_pm_ops),
|
||||
},
|
||||
};
|
||||
|
@ -891,7 +891,7 @@ static struct platform_driver mchp_spdiftx_driver = {
|
||||
.remove_new = mchp_spdiftx_remove,
|
||||
.driver = {
|
||||
.name = "mchp_spdiftx",
|
||||
.of_match_table = of_match_ptr(mchp_spdiftx_dt_ids),
|
||||
.of_match_table = mchp_spdiftx_dt_ids,
|
||||
.pm = pm_ptr(&mchp_spdiftx_pm_ops)
|
||||
},
|
||||
};
|
||||
|
@ -430,7 +430,7 @@ MODULE_DEVICE_TABLE(of, tse850_dt_ids);
|
||||
static struct platform_driver tse850_driver = {
|
||||
.driver = {
|
||||
.name = "axentia-tse850-pcm5142",
|
||||
.of_match_table = of_match_ptr(tse850_dt_ids),
|
||||
.of_match_table = tse850_dt_ids,
|
||||
},
|
||||
.probe = tse850_probe,
|
||||
.remove_new = tse850_remove,
|
||||
|
@ -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,
|
||||
};
|
||||
|
@ -718,7 +718,7 @@ static const struct dev_pm_ops sun4i_spdif_pm = {
|
||||
static struct platform_driver sun4i_spdif_driver = {
|
||||
.driver = {
|
||||
.name = "sun4i-spdif",
|
||||
.of_match_table = of_match_ptr(sun4i_spdif_of_match),
|
||||
.of_match_table = sun4i_spdif_of_match,
|
||||
.pm = &sun4i_spdif_pm,
|
||||
},
|
||||
.probe = sun4i_spdif_probe,
|
||||
|
Loading…
Reference in New Issue
Block a user