macintosh/adb: Change platform power management to use dev_pm_ops
authorShuah Khan <shuah.kh@samsung.com>
Mon, 10 Feb 2014 16:12:27 +0000 (09:12 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 7 Mar 2014 04:54:48 +0000 (15:54 +1100)
commit639291f263c14dd20938dca296ab04b535cafd37
treea02f1cc15557ea0b850033e2b26bc9dad5452edf
parent3c8464a9b12bf83807b6e2c896d7e7b633e1cae7
macintosh/adb: Change platform power management to use dev_pm_ops

Change adb platform driver to register pm ops using dev_pm_ops instead of
legacy pm_ops. .pm hooks call existing legacy suspend and resume interfaces
by passing in the right pm state.

Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/macintosh/adb.c