[alsa-devel] [PATCH 1/1] ASoC: pcm1792a: Remove redundant of_match_ptr helper

Mark Brown broonie at kernel.org
Sat Dec 21 15:12:24 CET 2013

On Sat, Dec 21, 2013 at 01:45:47PM +0530, Sachin Kamat wrote:
> 'pcm1792a_of_match' is always compiled in. Hence the
> helper macro is not needed.

Part of the idea here is that the macro drops the reference to the table
when OF is not in use and then the table gets eliminated by the compiler
as unreferenced so we don't need ifdefs.

More information about the Alsa-devel mailing list