]> 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)
commit6a47a8c716fc03406ce13cbfaacac5f039ee31f8
tree92a1667b46d203e69f5cd008c85048be44e7e542
parent607c569e9f1e7a9334bf1c3305c0f6dd312f73a8
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