mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Linus Torvalds <torvalds@osdl.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>, Vojtech Pavlik <vojtech@ucw.cz>
Subject: [patch 4/7] Fix input device deregistration
Date: Wed, 02 Nov 2005 23:21:25 -0500	[thread overview]
Message-ID: <20051103042818.501304000.dtor_core@ameritech.net> (raw)
In-Reply-To: <20051103042121.394220000.dtor_core@ameritech.net>

[-- Attachment #1: input-remove-dev-attr-group.patch --]
[-- Type: text/plain, Size: 735 bytes --]

Input: fix input device deregistration

Remove main attribute group (name, phys, uniq) when unregistering
input devices.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---

 drivers/input/input.c |    1 +
 1 files changed, 1 insertion(+)

Index: work/drivers/input/input.c
===================================================================
--- work.orig/drivers/input/input.c
+++ work/drivers/input/input.c
@@ -805,6 +805,7 @@ void input_unregister_device(struct inpu
 
 	sysfs_remove_group(&dev->cdev.kobj, &input_dev_caps_attr_group);
 	sysfs_remove_group(&dev->cdev.kobj, &input_dev_id_attr_group);
+	sysfs_remove_group(&dev->cdev.kobj, &input_dev_group);
 	class_device_unregister(&dev->cdev);
 
 	input_wakeup_procfs_readers();


  parent reply	other threads:[~2005-11-03  4:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-03  4:21 [patch 0/7] Another input update Dmitry Torokhov
2005-11-03  4:21 ` [patch 1/7] dmasound_awacs: convert to dynamic input allocation Dmitry Torokhov
2005-11-03  4:21 ` [patch 2/7] locomokbd: " Dmitry Torokhov
2005-11-03  4:21 ` [patch 3/7] Do not register statically allocated input devices Dmitry Torokhov
2005-11-03  4:21 ` Dmitry Torokhov [this message]
2005-11-03  4:21 ` [patch 5/7] locomokbd: fix wrong bustype Dmitry Torokhov
2005-11-03  4:21 ` [patch 6/7] logips2pp: add MX3100 signature Dmitry Torokhov
2005-11-03  4:21 ` [patch 7/7] lkkbd: misc fixes Dmitry Torokhov
2005-11-07 17:28 ` [patch 0/7] Another input update Dmitry Torokhov
2005-11-07 18:31   ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051103042818.501304000.dtor_core@ameritech.net \
    --to=dtor_core@ameritech.net \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --cc=vojtech@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®