[alsa-devel] [PATCH 1/1] ASoC: pcm1792a: Remove redundant of_match_ptr helper
michael at amarulasolutions.com
Sat Dec 21 15:24:57 CET 2013
On Sat, Dec 21, 2013 at 3:12 PM, Mark Brown <broonie at kernel.org> wrote:
> 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.
Yes, I don't understand here why we need to remove. This should go away.
BTW I found a bunch of commits from Sanchin on this direction
More information about the Alsa-devel