summaryrefslogtreecommitdiffstats
path: root/sound/soc/davinci
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-22 16:53:37 +0530
committerMark Brown <broonie@linaro.org>2013-06-03 16:46:05 +0100
commitea421eb18d89935211bea80ba36e239e016e6e54 (patch)
tree8c0a748c176891108af1cb42dedf47d1447e5802 /sound/soc/davinci
parentcde11aedea7325d9e48c9f6f7ac468287d457e79 (diff)
downloadtalos-obmc-linux-ea421eb18d89935211bea80ba36e239e016e6e54.tar.gz
talos-obmc-linux-ea421eb18d89935211bea80ba36e239e016e6e54.zip
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>
Diffstat (limited to 'sound/soc/davinci')
-rw-r--r--sound/soc/davinci/davinci-mcasp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
index 56ecfc72f2e9..94f1e46ca79b 100644
--- a/sound/soc/davinci/davinci-mcasp.c
+++ b/sound/soc/davinci/davinci-mcasp.c
@@ -1023,7 +1023,7 @@ static struct snd_platform_data *davinci_mcasp_set_pdata_from_of(
struct device_node *np = pdev->dev.of_node;
struct snd_platform_data *pdata = NULL;
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;
u8 *of_serial_dir;
@@ -1256,7 +1256,7 @@ static struct platform_driver davinci_mcasp_driver = {
.driver = {
.name = "davinci-mcasp",
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(mcasp_dt_ids),
+ .of_match_table = mcasp_dt_ids,
},
};
OpenPOWER on IntegriCloud