input: sh_keysc suspend can use to_platform_device()
authorMagnus Damm <damm@igel.co.jp>
Wed, 11 Mar 2009 08:04:23 +0000 (08:04 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 11 Mar 2009 08:19:42 +0000 (17:19 +0900)
commit49976927de5c52c415d4809c7d56700cc8ff4215
treee56b5a0cecf31e7e238245687895fb51a0f95973
parent4a55026fd7a08074676e87932578ff9e327e82a3
input: sh_keysc suspend can use to_platform_device()

This patch changes sh_keysc to use to_platform_device()
for suspend. Thanks to Trilok Soni for this suggestion.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Reviewed-by: Trilok Soni <soni.trilok@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/input/keyboard/sh_keysc.c