The patch titled apanel: detach on shutdown has been added to the -mm tree. Its filename is apanel-detach-on-shutdown.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: apanel: detach on shutdown From: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> Need to stop any device polling on shutdown. Without this, the laptop can sometimes not turn off. Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> Cc: Dmitry Torokhov <dtor@xxxxxxx> Cc: Jiri Kosina <jkosina@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/input/misc/apanel.c | 6 ++++++ 1 file changed, 6 insertions(+) diff -puN drivers/input/misc/apanel.c~apanel-detach-on-shutdown drivers/input/misc/apanel.c --- a/drivers/input/misc/apanel.c~apanel-detach-on-shutdown +++ a/drivers/input/misc/apanel.c @@ -193,12 +193,18 @@ static int apanel_attach_adapter(struct return i2c_probe(adap, &addr_data, apanel_probe); } +static void apanel_shutdown(struct i2c_client *client) +{ + apanel_detach_client(client); +} + static struct i2c_driver apanel_driver = { .driver = { .name = APANEL, }, .attach_adapter = &apanel_attach_adapter, .detach_client = &apanel_detach_client, + .shutdown = &apanel_shutdown, }; static struct apanel apanel = { _ Patches currently in -mm which might be from shemminger@xxxxxxxxxxxxxxxxxxxx are git-input.patch fujitsu-application-panel-driver.patch apanel-free-input-device-on-close.patch apanel-change-name-of-led.patch apanel-detach-on-shutdown.patch apanel-use-generic-keycode-routines.patch git-net.patch git-netdev-all.patch git-wireless.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html