]> Pileus Git - ~andy/linux/commit
staging/olpc_dcon: use s/r hooks from device_driver->pm
authorAndres Salomon <dilinger@queued.net>
Mon, 1 Oct 2012 21:46:21 +0000 (14:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 18:39:22 +0000 (11:39 -0700)
commit3e5e624bfda39417cc76e716a350a318049dbd39
tree1518a83469ac869ed8d6e3088c0e1a74becc550a
parent6c98274cba3b68e6d87ddb3b0be2bec449106181
staging/olpc_dcon: use s/r hooks from device_driver->pm

..instead of the i2c_driver hooks.  This should silence the following
runtime warnings:

[   17.820321] i2c-core: driver [olpc_dcon] using legacy suspend method
[   17.846082] i2c-core: driver [olpc_dcon] using legacy resume method

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/olpc_dcon/olpc_dcon.c