public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chanwoo Choi <cw00.choi@samsung.com>
To: Kishon Vijay Abraham I <kishon@ti.com>
Cc: myungjoo.ham@samsung.com, linux-kernel@vger.kernel.org, balbi@ti.com
Subject: Re: [PATCH] extcon: palmas: remove assigning "edev.name" to palmas
Date: Tue, 16 Jul 2013 08:03:26 +0900	[thread overview]
Message-ID: <51E47FBE.5030700@samsung.com> (raw)
In-Reply-To: <1371215904-2189-1-git-send-email-kishon@ti.com>

On 06/14/2013 10:18 PM, Kishon Vijay Abraham I wrote:
> of_extcon_get_extcon_dev() uses dev_name for getting the reference
> to the extcon device. If the extcon driver assigns a different
> name other than dev_name, of_extcon_get_extcon_dev() wouldn't
> be able to find the reference to the extcon device. Since the
> client drivers of extcon-palmas would be using
> of_extcon_get_extcon_dev(), removed assigning edev.name
> in extcon-palmas.
> 
> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
> ---
>  drivers/extcon/extcon-palmas.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c
> index b752a0a..7350ac2 100644
> --- a/drivers/extcon/extcon-palmas.c
> +++ b/drivers/extcon/extcon-palmas.c
> @@ -172,7 +172,6 @@ static int palmas_usb_probe(struct platform_device *pdev)
>  
>  	platform_set_drvdata(pdev, palmas_usb);
>  
> -	palmas_usb->edev.name = "palmas-usb";
>  	palmas_usb->edev.supported_cable = palmas_extcon_cable;
>  	palmas_usb->edev.mutually_exclusive = mutually_exclusive;
>  
> 

This patch is applied. Sorry for missing this patch.
You can check it on extcon-linus repo.
- http://git.kernel.org/cgit/linux/kernel/git/chanwoo/extcon.git/log/?h=extcon-linus

Thanks,
Chanwoo Choi

      reply	other threads:[~2013-07-15 23:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-14 13:18 [PATCH] extcon: palmas: remove assigning "edev.name" to palmas Kishon Vijay Abraham I
2013-07-15 23:03 ` Chanwoo Choi [this message]

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=51E47FBE.5030700@samsung.com \
    --to=cw00.choi@samsung.com \
    --cc=balbi@ti.com \
    --cc=kishon@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=myungjoo.ham@samsung.com \
    /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