Re: [PATCH v5 02/12] ASoC: davinci-evm: Add device tree binding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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?

Best regards,
Jyri
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux