OSDN Git Service

Input: twl4030-pwrbutton - use correct device for irq request
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Fri, 28 Apr 2017 17:25:51 +0000 (10:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Mar 2018 10:00:20 +0000 (11:00 +0100)
commitedc0bfd6e2276e3d53dc3ebb7f454d1b940e4967
tree881060f7f1f3b0b8c6b81c08b55d78857ac4ce15
parent5b65f7d823f3ce0e6e46eb08b2d35972e6092699
Input: twl4030-pwrbutton - use correct device for irq request

[ Upstream commit 3071e9dd6cd3f2290d770117330f2c8b2e9a97e4 ]

The interrupt should be requested for the platform device
and not for the input device.

Fixes: 7f9ce649d267 ("Input: twl4030-pwrbutton - simplify driver using devm_*")
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/misc/twl4030-pwrbutton.c