Re: [PATCH 8/9] ACPI: thinkpad-acpi: use a separate platform device for hwmon and name it

Jean Delvare
2007-09-24T16:43:28Z

On Mon, 24 Sep 2007 17:11:28 +0200, Jean Delvare wrote:
> On Sun, 23 Sep 2007 11:24:16 -0300, Henrique de Moraes Holschuh wrote:
> > + tpacpi_sensors_pdev = platform_device_register_simple(
> > + IBM_HWMON_DRVR_NAME,
> > + -1, NULL, 0);
>
> As explained before, libsensors won't pick this device. You'd need to
> give it an id of 0 instead of -1. Hmm, I'll see if I can hack something
> in libsensors4 until that part of the code is reimplemented in a better
> way.

OK, it's fixed in libsensors4 now, the above code will work OK, no need
to change it.

--
Jean Delvare

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.