ASoC: davinci: Remove redundant use of of_match_ptr macro

'mcasp_dt_ids' is always compiled in. Hence of_match_ptr is not
necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
Sachin Kamat 2013-05-22 16:53:37 +05:30 коммит произвёл Mark Brown
Родитель cde11aedea
Коммит ea421eb18d
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1023,7 +1023,7 @@ static struct snd_platform_data *davinci_mcasp_set_pdata_from_of(
struct device_node *np = pdev->dev.of_node; struct device_node *np = pdev->dev.of_node;
struct snd_platform_data *pdata = NULL; struct snd_platform_data *pdata = NULL;
const struct of_device_id *match = const struct of_device_id *match =
of_match_device(of_match_ptr(mcasp_dt_ids), &pdev->dev); of_match_device(mcasp_dt_ids, &pdev->dev);
const u32 *of_serial_dir32; const u32 *of_serial_dir32;
u8 *of_serial_dir; u8 *of_serial_dir;
@ -1256,7 +1256,7 @@ static struct platform_driver davinci_mcasp_driver = {
.driver = { .driver = {
.name = "davinci-mcasp", .name = "davinci-mcasp",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = of_match_ptr(mcasp_dt_ids), .of_match_table = mcasp_dt_ids,
}, },
}; };