]> git.karo-electronics.de Git - linux-beck.git/commit
ahci: Convert driver to use modern PM hooks
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Feb 2016 08:54:15 +0000 (10:54 +0200)
committerTejun Heo <tj@kernel.org>
Fri, 19 Feb 2016 15:52:46 +0000 (10:52 -0500)
commitf1d848f9fb0896809be90a4b6ab8a97e1b6e86aa
tree396101ed4ca7371048f7313432d37824b302bae0
parent8ea909cb35bc2c3226610f8631c73e355020a26e
ahci: Convert driver to use modern PM hooks

In order to add support for runtime PM to the ahci driver we first need to
convert the driver to use modern non-legacy system suspend hooks. There
should be no functional changes.

tj: Updated .driver.pm init for older compilers as suggested by Andy
    and Chrsitoph.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci.c