public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Zhang Rui <rui.zhang@intel.com>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>, len.brown@intel.com
Cc: ibm-acpi-devel@lists.sourceforge.net,
	"linux-acpi@vger" <linux-acpi@vger.kernel.org>
Subject: Re: [PATCH 01/21] ACPI: ibm-acpi: do not use / in driver names
Date: Wed, 29 Nov 2006 17:08:57 +0800	[thread overview]
Message-ID: <1164791337.6097.15.camel@localhost.localdomain> (raw)
In-Reply-To: <20061125204216.6604.44912.stgit@thorin.khazad-dum.debian.net>

On Sat, 2006-11-25 at 18:42 -0200, Henrique de Moraes Holschuh wrote:
> From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
> 
> ibm-acpi uses sub-device names like ibm/hotkey, which get in the way of
> a sysfs conversion.  Fix it to use ibm_hotkey instead.  Thanks to Zhang
> Rui for noticing this.
> 
> Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
> ---
> 
>  drivers/acpi/ibm_acpi.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/acpi/ibm_acpi.c b/drivers/acpi/ibm_acpi.c
> index 9658253..9baae34 100644
> --- a/drivers/acpi/ibm_acpi.c
> +++ b/drivers/acpi/ibm_acpi.c
> @@ -1854,7 +1854,7 @@ static int __init register_driver(struct
>  	}
>  
>  	memset(ibm->driver, 0, sizeof(struct acpi_driver));
> -	sprintf(ibm->driver->name, "%s/%s", IBM_NAME, ibm->name);
> +	sprintf(ibm->driver->name, "%s_%s", IBM_NAME, ibm->name);
>  	ibm->driver->ids = ibm->hid;
>  	ibm->driver->ops.add = &ibm_device_add;
>  
I think this patch should be added to ACPI sysfs patch series, as it's
critical for ACPI sysfs conversion. We should make sure that the patches
won't break ibm_acpi any longer. :)

  reply	other threads:[~2006-11-29  9:05 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-25 20:41 [PATCH 00/21] ACPI: ibm-acpi: cleanups, extended fan/thermal support Henrique de Moraes Holschuh
2006-11-25 20:42 ` [PATCH 01/21] ACPI: ibm-acpi: do not use / in driver names Henrique de Moraes Holschuh
2006-11-29  9:08   ` Zhang Rui [this message]
2006-11-25 20:42 ` [PATCH 03/21] ACPI: ibm-acpi: Use a enum to select the thermal sensor reading strategy Henrique de Moraes Holschuh
     [not found] ` <20061125204155.6604.35338.stgit-H32KNTuDSMjdPi8JTuvWk31TOOPCyuNQ5NbjCUgZEJk@public.gmane.org>
2006-11-25 20:42   ` [PATCH 02/21] ACPI: ibm-acpi: trivial Lindent cleanups Henrique de Moraes Holschuh
2006-11-25 20:43   ` [PATCH 04/21] ACPI: ibm-acpi: Implement direct-ec-access thermal reading modes for up to 16 sensors Henrique de Moraes Holschuh
2006-11-25 20:43   ` [PATCH 05/21] ACPI: ibm-acpi: document thermal sensor locations for the A31 Henrique de Moraes Holschuh
2006-11-25 20:43   ` [PATCH 06/21] ACPI: ibm-acpi: prepare to cleanup fan_read and fan_write Henrique de Moraes Holschuh
2006-11-25 20:44   ` [PATCH 07/21] ACPI: ibm-acpi: clean up fan_read Henrique de Moraes Holschuh
2006-11-25 20:44   ` [PATCH 08/21] ACPI: ibm-acpi: break fan_read into separate functions Henrique de Moraes Holschuh
2006-11-25 20:45   ` [PATCH 10/21] ACPI: ibm-acpi: document fan control Henrique de Moraes Holschuh
2006-11-25 20:45   ` [PATCH 12/21] ACPI: ibm-acpi: fix and extend fan enable Henrique de Moraes Holschuh
2006-11-25 20:47   ` [PATCH 16/21] ACPI: ibm-acpi: implement fan watchdog command Henrique de Moraes Holschuh
2006-11-25 20:47   ` [PATCH 18/21] ACPI: ibm-acpi: make non-generic bay support optional Henrique de Moraes Holschuh
2006-11-25 20:48   ` [PATCH 19/21] ACPI: ibm-acpi: backlight device cleanup Henrique de Moraes Holschuh
2006-11-25 20:48   ` [PATCH 20/21] ACPI: ibm-acpi: style fixes and cruft removal Henrique de Moraes Holschuh
2006-11-25 20:48   ` [PATCH 21/21] ACPI: ibm-acpi: update version and copyright Henrique de Moraes Holschuh
2006-11-25 20:44 ` [PATCH 09/21] ACPI: ibm-acpi: cleanup fan_write Henrique de Moraes Holschuh
2006-11-25 20:45 ` [PATCH 11/21] ACPI: ibm-acpi: extend fan status functions Henrique de Moraes Holschuh
2006-11-25 20:46 ` [PATCH 13/21] ACPI: ibm-acpi: fix and extend fan control functions Henrique de Moraes Holschuh
2006-11-25 20:46 ` [PATCH 14/21] ACPI: ibm-acpi: store embedded controller firmware version for matching Henrique de Moraes Holschuh
2006-11-25 20:46 ` [PATCH 15/21] ACPI: ibm-acpi: workaround for EC 0x2f initialization bug Henrique de Moraes Holschuh
2006-11-25 20:47 ` [PATCH 17/21] ACPI: ibm-acpi: add support for the ultrabay on the T60,X60 Henrique de Moraes Holschuh
2006-12-07  6:23 ` [PATCH 00/21] ACPI: ibm-acpi: cleanups, extended fan/thermal support Len Brown
2006-12-07 19:35   ` Henrique de Moraes Holschuh
2006-12-16  5:43 ` Len Brown

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=1164791337.6097.15.camel@localhost.localdomain \
    --to=rui.zhang@intel.com \
    --cc=hmh@hmh.eng.br \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.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