[alsa-devel] [PATCH 1/1] ASoC: sam9x5_wm8731: Remove redundant of_match_ptr helper
'sam9x5_wm8731_of_match' is always compiled in. Hence the helper macro is not needed.
Signed-off-by: Sachin Kamat sachin.kamat@linaro.org --- sound/soc/atmel/sam9x5_wm8731.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/atmel/sam9x5_wm8731.c b/sound/soc/atmel/sam9x5_wm8731.c index 7d6a9055874b..59df542afc7d 100644 --- a/sound/soc/atmel/sam9x5_wm8731.c +++ b/sound/soc/atmel/sam9x5_wm8731.c @@ -195,7 +195,7 @@ static struct platform_driver sam9x5_wm8731_driver = { .driver = { .name = DRV_NAME, .owner = THIS_MODULE, - .of_match_table = of_match_ptr(sam9x5_wm8731_of_match), + .of_match_table = sam9x5_wm8731_of_match, }, .probe = sam9x5_wm8731_driver_probe, .remove = sam9x5_wm8731_driver_remove,
On Sat, Dec 21, 2013 at 01:49:45PM +0530, Sachin Kamat wrote:
'sam9x5_wm8731_of_match' is always compiled in. Hence the helper macro is not needed.
Same here - the idea is to avoid needing to explicitly compile it out.
participants (2)
-
Mark Brown
-
Sachin Kamat