From: Andrew Morton Signed-off-by: Andrew Morton --- drivers/hwmon/applesmc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/hwmon/applesmc.c~git-input-fixup drivers/hwmon/applesmc.c --- a/drivers/hwmon/applesmc.c~git-input-fixup +++ a/drivers/hwmon/applesmc.c @@ -131,8 +131,7 @@ static const int debug; static struct platform_device *pdev; static s16 rest_x; static s16 rest_y; -static struct timer_list applesmc_timer; -static struct input_dev *applesmc_idev; +static struct input_polled_dev *applesmc_idev; static struct device *hwmon_dev; /* Indicates whether this computer has an accelerometer. */ _