[alsa-devel] [PATCH v5 02/12] ASoC: davinci-evm: Add device tree binding
jsarha at ti.com
Tue Oct 22 18:41:00 CEST 2013
On 10/22/2013 03:39 PM, Mark Brown wrote:
> It would look a good deal less odd which is useful in itself; the best
> thing would be if they could both use the same driver which uses both
> platform and DT data.
I see. To be honest the whole non DT part looks pretty hairy to me too,
but I can not clean it up because I do not have access to the relevant HW.
Would it look better to you if I would use module_platform_driver()
macro inside #ifdef CONFIG_OF and put the module_init() and
module_exit() into #else branch?
More information about the Alsa-devel