- 12 3月, 2009 1 次提交
-
-
由 Andrew Klossner 提交于
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: NAndrew Klossner <andrew@cesa.opbu.xerox.com> Signed-off-by: NJean Delvare <khali@linux-fr.org>
-
- 17 7月, 2008 1 次提交
-
-
由 Jean Delvare 提交于
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: NJean Delvare <khali@linux-fr.org> Acked-by: NRiku Voipio <riku.voipio@movial.fi>
-
- 30 4月, 2008 2 次提交
-
-
由 Jean Delvare 提交于
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: NJean Delvare <khali@linux-fr.org> Cc: Jon Smirl <jonsmirl@gmail.com> Cc: Jochen Friedrich <jochen@scram.de>
-
由 Jean Delvare 提交于
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: NJean Delvare <khali@linux-fr.org> Cc: Jochen Friedrich <jochen@scram.de> Cc: Jon Smirl <jonsmirl@gmail.com> Cc: Kay Sievers <kay.sievers@vrfy.org>
-
- 19 2月, 2008 1 次提交
-
-
由 Mark M. Hoffman 提交于
Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
- 08 11月, 2007 4 次提交
-
-
由 Riku Voipio 提交于
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: NRiku Voipio <riku.voipio@movial.fi> Acked-by: NJean Delvare <khali@linux-fr.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Riku Voipio 提交于
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: NRiku Voipio <riku.voipio@movial.fi> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Riku Voipio 提交于
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: NRiku Voipio <riku.voipio@movial.fi> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Riku Voipio 提交于
Spotted by the Coverity checker. (Thanks Adrian Bunk) Signed-off-by: NRiku Voipio <riku.voipio@iki.fi> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
- 10 10月, 2007 2 次提交
-
-
由 Tony Jones 提交于
Convert from class_device to device for hwmon_device_register/unregister Signed-off-by: NTony Jones <tonyj@suse.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de> Signed-off-by: NKay Sievers <kay.sievers@vrfy.org> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-
由 Riku Voipio 提交于
Add support for Fintek F75375S/SP and F75373. Signed-off-by: NRiku Voipio <riku.voipio@movial.fi> Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
-