All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH v2 2/4] hwmon: (f75375s) Make pwm*_mode writable for the F75387
@ 2012-02-28 21:15 Nikolaus Schulz
  2012-02-28 22:43 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolaus Schulz @ 2012-02-28 21:15 UTC (permalink / raw)
  To: lm-sensors

Signed-off-by: Nikolaus Schulz <mail@microschulz.de>
---
 drivers/hwmon/f75375s.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/hwmon/f75375s.c b/drivers/hwmon/f75375s.c
index 1c26652..29c0d06 100644
--- a/drivers/hwmon/f75375s.c
+++ b/drivers/hwmon/f75375s.c
@@ -794,7 +794,7 @@ static int f75375_probe(struct i2c_client *client,
 	if (err)
 		goto exit_free;
 
-	if (data->kind = f75375) {
+	if (data->kind != f75373) {
 		err = sysfs_chmod_file(&client->dev.kobj,
 			&sensor_dev_attr_pwm1_mode.dev_attr.attr,
 			S_IRUGO | S_IWUSR);
-- 
1.7.9.1


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [lm-sensors] [PATCH v2 2/4] hwmon: (f75375s) Make pwm*_mode writable for the F75387
  2012-02-28 21:15 [lm-sensors] [PATCH v2 2/4] hwmon: (f75375s) Make pwm*_mode writable for the F75387 Nikolaus Schulz
@ 2012-02-28 22:43 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2012-02-28 22:43 UTC (permalink / raw)
  To: lm-sensors

On Tue, Feb 28, 2012 at 04:15:52PM -0500, Nikolaus Schulz wrote:
> Signed-off-by: Nikolaus Schulz <mail@microschulz.de>
> ---
>  drivers/hwmon/f75375s.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/hwmon/f75375s.c b/drivers/hwmon/f75375s.c
> index 1c26652..29c0d06 100644
> --- a/drivers/hwmon/f75375s.c
> +++ b/drivers/hwmon/f75375s.c
> @@ -794,7 +794,7 @@ static int f75375_probe(struct i2c_client *client,
>  	if (err)
>  		goto exit_free;
>  
> -	if (data->kind = f75375) {
> +	if (data->kind != f75373) {
>  		err = sysfs_chmod_file(&client->dev.kobj,
>  			&sensor_dev_attr_pwm1_mode.dev_attr.attr,
>  			S_IRUGO | S_IWUSR);

Applied.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-28 22:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28 21:15 [lm-sensors] [PATCH v2 2/4] hwmon: (f75375s) Make pwm*_mode writable for the F75387 Nikolaus Schulz
2012-02-28 22:43 ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.