Re: [PATCH v2 2/4] hwmon: (f75375s) Make pwm*_mode writable for the F75387

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 28, 2012 at 04:15:52PM -0500, Nikolaus Schulz wrote:
> Signed-off-by: Nikolaus Schulz <mail@xxxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux