]> git.karo-electronics.de Git - karo-tx-linux.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)
commit96b1b29d37b0ca3ecd424a1fe301406cf525fc04
tree92a1667b46d203e69f5cd008c85048be44e7e542
parent2acd089471d93373e051c6b1f9f9e0d9e51a76bc
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