- 17 Oct, 2008 1 commit
-
-
Andrew Morton authored
Macros evaluating their arguments more than once are evil. Signed-off-by:
Jean Delvare <khali@linux-fr.org>
-
- 16 Jul, 2008 1 commit
-
-
Jean Delvare authored
The new-style max1619 driver implements the optional detect() callback to cover the use cases of the legacy driver. Signed-off-by:
Jean Delvare <khali@linux-fr.org> Cc: Alexey Fisher <fishor@mail.ru>
-
- 18 Feb, 2008 1 commit
-
-
Mark M. Hoffman authored
Signed-off-by:
Mark M. Hoffman <mhoffman@lightlink.com>
-
- 17 Feb, 2008 1 commit
-
-
Jean Delvare authored
The new libsensors needs these individual alarm and fault files. Signed-off-by:
Jean Delvare <khali@linux-fr.org> Acked-by: Juerg Haefliger <juergh at gmail.com> Signed-off-by:
Mark M. Hoffman <mhoffman@lightlink.com>
-
- 09 Oct, 2007 1 commit
-
-
Tony Jones authored
Convert from class_device to device for hwmon_device_register/unregister Signed-off-by:
Tony Jones <tonyj@suse.de> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by:
Kay Sievers <kay.sievers@vrfy.org> Signed-off-by:
Mark M. Hoffman <mhoffman@lightlink.com>
-
- 28 Sep, 2006 1 commit
-
-
Jean Delvare authored
hwmon: Fix unchecked return status, batch 6 Fix up 5 more hwmon drivers so that they no longer ignore return status from device_create_file(). Signed-off-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 23 Mar, 2006 1 commit
-
-
Ingo Molnar authored
convert drivers/hwmon/*.c semaphore use to mutexes. the conversion was generated via scripts, and the result was validated automatically via a script as well. all affected hwmon drivers were build-tested. Signed-off-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 06 Jan, 2006 3 commits
-
-
Greg Kroah-Hartman authored
Now that i2c_add_driver() doesn't need the module owner to be set by hand, we can delete it from the drivers. This patch catches all of the drivers that I found in the current tree (if a driver sets the .owner by hand, it's not a problem, just not needed.) Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de> Cc: Jean Delvare <khali@linux-fr.org>
-
Laurent Riffard authored
We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the hwmon drivers. Signed-off-by:
Laurent Riffard <laurent.riffard@free.fr> Signed-off-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jean Delvare authored
Just about every i2c chip driver sets the I2C_DF_NOTIFY flag, so we can simply make it the default and drop the flag. If any driver really doesn't want to be notified when i2c adapters are added, that driver can simply omit to set .attach_adapter. This approach is also more robust as it prevents accidental NULL pointer dereferences. Signed-off-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 07 Nov, 2005 1 commit
-
-
Andrew Morton authored
Something horrid has happened to the indenting and braces in this function, producing a warning: drivers/hwmon/max1619.c: In function `max1619_detect': drivers/hwmon/max1619.c:196: warning: `man_id' might be used uninitialized in this function drivers/hwmon/max1619.c:196: warning: `chip_id' might be used uninitialized in this function Acked-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 28 Oct, 2005 1 commit
-
-
Deepak Saxena authored
Use kzalloc instead of kmalloc+memset in all hardware monitoring drivers. Signed-off-by:
Deepak Saxena <dsaxena@plexity.net> Signed-off-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 05 Sep, 2005 5 commits
-
-
Jean Delvare authored
The only thing left in i2c-sensor.h are module parameter definition macros. It's only an extension of what i2c.h offers, and this extension is not sensors-specific. As a matter of fact, a few non-sensors drivers use them. So we better merge them in i2c.h, and get rid of i2c-sensor.h altogether. Signed-off-by:
Jean Delvare <khali@linux-fr> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jean Delvare authored
i2c_probe and i2c_detect now do the exact same thing and operate on the same data structure, so we can have everyone call i2c_probe. Signed-off-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jean Delvare authored
We could refactor the error message 34 different i2c drivers print if i2c_detach_client() fails in this function itself. Saves quite a few lines of code. Documentation is updated to reflect that change. Note that this patch should be applied after Rudolf Marek's w83792d patches. Signed-off-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jean Delvare authored
Kill normal_isa in header files, documentation and all chip drivers, as it is no more used. normal_i2c could be renamed to normal, but I decided not to do so at the moment, so as to limit the number of changes. This might be done later as part of the i2c_probe/i2c_detect merge. Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Mark M. Hoffman authored
This patch modifies sensors chip drivers to make use of the new sysfs class "hwmon". Signed-off-by:
Mark M. Hoffman <mhoffman@lightlink.com> Signed-off-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 29 Jul, 2005 1 commit
-
-
Jean Delvare authored
A few split string in i2c (and now hwmon) drivers lack a joining space, causing them to display incorrectly. This trivial patch fixes that up. Please apply, thanks. Signed-off-by:
Jean Delvare <khali@linux-fr.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 11 Jul, 2005 1 commit
-
-
Jean Delvare authored
Part 2: Move the driver files themselves. Note that the patch "adds trailing whitespace", because it does move the files as-is, and some files happen to have trailing whitespace. From: Jean Delvare <khali@linux-fr.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 22 Jun, 2005 1 commit
-
-
Alexey Dobriyan authored
Files that don't use CONFIG_* stuff shouldn't include config.h Files that use CONFIG_* stuff should include config.h It's that simple. ;-) Signed-off-by:
Alexey Dobriyan <adobriyan@mail.ru> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 20 Jun, 2005 1 commit
-
-
Yani Ioannou authored
Signed-off-by:
Yani Ioannou <yani.ioannou@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 16 Apr, 2005 1 commit
-
-
Linus Torvalds authored
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
-