linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jingoo Han <jg1.han@samsung.com>
To: 'Dmitry Torokhov' <dmitry.torokhov@gmail.com>,
	'Sebastian Reichel' <sre@debian.org>
Cc: linux-input@vger.kernel.org, 'Fugang Duan' <B38611@freescale.com>,
	'Peter Ujfalusi' <peter.ujfalusi@ti.com>,
	".linux-kernel"@vger.kernel.org,
	'Jingoo Han' <jg1.han@samsung.com>
Subject: Re: [PATCH] Input: twl4030 - convert to using managed resources
Date: Mon, 06 Jan 2014 11:25:54 +0900	[thread overview]
Message-ID: <007901cf0a86$a0639550$e12abff0$%han@samsung.com> (raw)
In-Reply-To: <20140104090147.GA16680@core.coreip.homeip.net>

On Saturday, January 04, 2014 6:02 PM, Dmitry Torokhov wrote:
> 
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> ---
> 
> Compile-tested only.
> 
> 
>  drivers/input/keyboard/twl4030_keypad.c | 70 +++++++++++----------------------
>  1 file changed, 22 insertions(+), 48 deletions(-)
> 
> diff --git a/drivers/input/keyboard/twl4030_keypad.c b/drivers/input/keyboard/twl4030_keypad.c
> index f663c19..71eb041 100644
> --- a/drivers/input/keyboard/twl4030_keypad.c
> +++ b/drivers/input/keyboard/twl4030_keypad.c

[.....]

> -static int twl4030_kp_remove(struct platform_device *pdev)
> -{
> -	struct twl4030_keypad *kp = platform_get_drvdata(pdev);
> -
> -	free_irq(kp->irq, kp);
> -	input_unregister_device(kp->input);

Hi Dmitry Torokhov,

IMHO, input_unregister_device() seems to be necessary,
because input_register_device() is still used.
If I am wrong, please let me know kindly.

Sebastian Reichel,
Would you repeat insmod & rmmod 'twl4030_keypad.ko'?

Happy New Year! :-)

Best regards,
Jingoo Han


  parent reply	other threads:[~2014-01-06  2:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20140104090147.GA16680@core.coreip.homeip.net>
2014-01-05  3:47 ` [PATCH] Input: twl4030 - convert to using managed resources Sebastian Reichel
2014-01-06  2:25 ` Jingoo Han [this message]
2014-01-06  2:33   ` 'Sebastian Reichel'
2014-01-06  2:50     ` Jingoo Han
2014-01-06 22:14       ` 'Sebastian Reichel'
2014-01-07  0:38         ` Jingoo Han
     [not found]   ` <20140106180705.GB2754@core.coreip.homeip.net>
2014-01-07  0:35     ` Jingoo Han
2014-01-07  0:39 ` Jingoo Han

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='007901cf0a86$a0639550$e12abff0$%han@samsung.com' \
    --to=jg1.han@samsung.com \
    --cc=".linux-kernel"@vger.kernel.org \
    --cc=B38611@freescale.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=peter.ujfalusi@ti.com \
    --cc=sre@debian.org \
    /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;
as well as URLs for NNTP newsgroup(s).