Input: sirfsoc-onkey - use dev_get_drvdata instead of platform_get_drvdata
authorXianglong Du <Xianglong.Du@csr.com>
Fri, 14 Feb 2014 16:45:56 +0000 (08:45 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 15 Feb 2014 21:08:46 +0000 (13:08 -0800)
commita5e466451939153cbec4d5446be139ba666ee28d
tree7a9d2f8fde34c7b492e72631bf7b31e86700e677
parent3a80035bcbbaff1870a537b4ea57727290bded56
Input: sirfsoc-onkey - use dev_get_drvdata instead of platform_get_drvdata

In resume entry, use dev_get_drvdata() instead of to_platform_device(dev) +
platform_get_drvdata(pdev).

Signed-off-by: Xianglong Du <Xianglong.Du@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/sirfsoc-onkey.c