Hello Arnd,
On Thu, Dec 30, 2010 at 11:03:31AM +0100, Arnd Bergmann wrote:
imx_add_platform_device could be implemented as
platform_device_register_resndata(NULL, name, id, res, num_resources, data, size_data)
in next[1] the imx variant got support to handle a dmamask.
I came up with those because many machines (sharing the same SoC) share
the same devices.
Well this is a matter of taste, I'm quite happy with the current
approach.
[1]
http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=blob;f=arch/arm/plat-mx...
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--