]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: HDQ1W: use omap_device
authorPaul Walmsley <paul@pwsan.com>
Fri, 22 Jun 2012 03:40:38 +0000 (21:40 -0600)
committerPaul Walmsley <paul@pwsan.com>
Fri, 22 Jun 2012 03:40:38 +0000 (21:40 -0600)
commitf4b1f3910de3e16ca3dbd8dbea9486e62e637182
tree92a1667b46d203e69f5cd008c85048be44e7e542
parent078c5a788b1c836fad36c1073d38fe214daf49bd
ARM: OMAP2+: HDQ1W: use omap_device

Convert the old-style device registration code for HDQ1W to use
omap_device.  This will allow the driver to be converted to use PM
runtime and to take advantage of the OMAP IP block management
infrastructure (hwmod, PM, etc.).

A side benefit of this conversion is that it also makes the HDQ device
available on OMAP2420.  The previous code only enabled it on 2430 and
3430.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: NeilBrown <neilb@suse.de>
Tested-by: NeilBrown <neilb@suse.de>
arch/arm/mach-omap2/devices.c
arch/arm/mach-omap2/hdq1w.c