30 Mar, 2009
1 commit
-
Update my email address.
Signed-off-by: Riku Voipio
Signed-off-by: Jiri Kosina
12 Mar, 2009
1 commit
-
f75375_probe calls i2c_get_clientdata to initialize the data pointer,
but there isn't yet any client data to get, and the value is never
used before the variable is assigned a new value seven lines later.The call doesn't hurt anything and wastes only a couple of cycles.
The reason to fix it is because this module serves as an example to
hackers writing new hwmon drivers, and this part of the example is
confusing.Signed-off-by: Andrew Klossner
Signed-off-by: Jean Delvare
17 Jul, 2008
1 commit
-
Drop the legacy f75375s i2c driver, and add a detect callback to the
new-style i2c driver to achieve the same functionality.Signed-off-by: Jean Delvare
Acked-by: Riku Voipio
30 Apr, 2008
2 commits
-
Based on earlier work by Jon Smirl and Jochen Friedrich.
Update most new-style i2c drivers to use standard module aliasing
instead of the old driver_name/type driver matching scheme. I've
left the video drivers apart (except for SoC camera drivers) as
they're a bit more diffcult to deal with, they'll have their own
patch later.Signed-off-by: Jean Delvare
Cc: Jon Smirl
Cc: Jochen Friedrich -
Based on earlier work by Jon Smirl and Jochen Friedrich.
This patch allows new-style i2c chip drivers to have alias names using
the official kernel aliasing system and MODULE_DEVICE_TABLE(). At this
point, the old i2c driver binding scheme (driver_name/type) is still
supported.Signed-off-by: Jean Delvare
Cc: Jochen Friedrich
Cc: Jon Smirl
Cc: Kay Sievers
19 Feb, 2008
1 commit
-
Signed-off-by: Mark M. Hoffman
08 Nov, 2007
4 commits
-
Fix value check in set_pwm_mode(). Instead of checking for chip variant there,
make pwmX_mode sysfs nodes only writable on f75375 variant.Signed-off-by: Riku Voipio
Acked-by: Jean Delvare
Signed-off-by: Mark M. Hoffman -
Allow initializing fans on systems where BIOS does not do that by
default.- define f75375s_platform_data in new file f75375s.h
- if platform_data was provided, set fans accordingly in f75375_init()
- split set_pwm_enable() to a sysfs callback and directly usable
set_pwm_enable_direct()Signed-off-by: Riku Voipio
Signed-off-by: Mark M. Hoffman -
Following the example of David Brownell's work on lm75:
- Create a second driver struct, using new-style driver binding methods.
- Rename the old driver struct as f75375_legacy_driver.
- Make the legacy bind/unbind logic delegate all its work.
Signed-off-by: Riku Voipio
Signed-off-by: Mark M. Hoffman -
Spotted by the Coverity checker. (Thanks Adrian Bunk)
Signed-off-by: Riku Voipio
Signed-off-by: Mark M. Hoffman
10 Oct, 2007
2 commits
-
Convert from class_device to device for hwmon_device_register/unregister
Signed-off-by: Tony Jones
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Kay Sievers
Signed-off-by: Mark M. Hoffman -
Add support for Fintek F75375S/SP and F75373.
Signed-off-by: Riku Voipio
Signed-off-by: Mark M. Hoffman