uio: Runtime PM for UIO devices
authorMagnus Damm <damm@igel.co.jp>
Fri, 14 Aug 2009 10:49:38 +0000 (10:49 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sun, 23 Aug 2009 09:03:19 +0000 (18:03 +0900)
commitaf76756e6e8c268c684865d29b897a470de1f097
treeab7d67edc7a74cc66251c8261e71ea709087bf6e
parent6d1386c6b8db54ac8d94c01194e0c27cd538532b
uio: Runtime PM for UIO devices

This patch modifies the uio_pdrv_genirq driver to support
Runtime PM. The power management implementation simply
runtime resumes the device at open() time and runtime
suspends it at release() time. The user space driver is
responsible for re-initializing the hardware after open().

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/uio/uio_pdrv_genirq.c