mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Kamil Debski <k.debski@samsung.com>
Cc: linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org,
	sguinot@lacie.com, t.figa@samsung.com, m.szyprowski@samsung.com
Subject: Re: [lm-sensors] [PATCH] hwmon: gpio-fan: Change name passed to hwmon_device_register_with_groups
Date: Wed, 9 Jul 2014 10:10:31 -0700	[thread overview]
Message-ID: <20140709171031.GA25748@roeck-us.net> (raw)
In-Reply-To: <1404917613-4467-1-git-send-email-k.debski@samsung.com>

On Wed, Jul 09, 2014 at 04:53:32PM +0200, Kamil Debski wrote:
> Commit 648cd48c9e566f53c5df30d79857e0937ae13b09 (hwmon: Do not accept
> invalid name attributes) added check for "-" in the name of hwmon device.
> This patch changes the name supplied by gpio-fan so that it is accepted
> by hwmon.
> 
> Signed-off-by: Kamil Debski <k.debski@samsung.com>
> ---
>  drivers/hwmon/gpio-fan.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/hwmon/gpio-fan.c b/drivers/hwmon/gpio-fan.c
> index ba35e4d..5acd555 100644
> --- a/drivers/hwmon/gpio-fan.c
> +++ b/drivers/hwmon/gpio-fan.c
> @@ -538,7 +538,7 @@ static int gpio_fan_probe(struct platform_device *pdev)
>  
>  	/* Make this driver part of hwmon class. */
>  	fan_data->hwmon_dev = hwmon_device_register_with_groups(&pdev->dev,
> -						"gpio-fan", fan_data,
> +						"gpiofan", fan_data,

This has already been changed to "gpio_fan" in the latest kernel.
See commit d26e0da78 (hwmon: (gpio-fan) Change name used in
hwmon_device_register_with_groups).

Guenter

      reply	other threads:[~2014-07-09 17:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 14:53 Kamil Debski
2014-07-09 17:10 ` Guenter Roeck [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=20140709171031.GA25748@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=k.debski@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm-sensors@lm-sensors.org \
    --cc=m.szyprowski@samsung.com \
    --cc=sguinot@lacie.com \
    --cc=t.figa@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

all inboxes | Powered by JetHome®