Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292119
b: refs/heads/master
c: 6b904b6
h: refs/heads/master
i:
  292117: 8a2b182
  292115: 0e1362b
  292111: bab1ad2
v: v3
  • Loading branch information
Frans Meulenbroeks authored and Guenter Roeck committed Mar 19, 2012
1 parent bdd5a0d commit e135db3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e6a83dbec9a62b9d57826c1dd17a62c9ad41a5aa
refs/heads/master: 6b904b623ab4646ce64124462c4bec6f0d3f78a6
6 changes: 3 additions & 3 deletions trunk/drivers/hwmon/adt7470.c
Original file line number Diff line number Diff line change
Expand Up @@ -1131,8 +1131,7 @@ static SENSOR_DEVICE_ATTR(pwm3_auto_channels_temp, S_IWUSR | S_IRUGO,
static SENSOR_DEVICE_ATTR(pwm4_auto_channels_temp, S_IWUSR | S_IRUGO,
show_pwm_auto_temp, set_pwm_auto_temp, 3);

static struct attribute *adt7470_attr[] =
{
static struct attribute *adt7470_attr[] = {
&dev_attr_alarm_mask.attr,
&dev_attr_num_temp_sensors.attr,
&dev_attr_auto_update_interval.attr,
Expand Down Expand Up @@ -1276,7 +1275,8 @@ static int adt7470_probe(struct i2c_client *client,

/* Register sysfs hooks */
data->attrs.attrs = adt7470_attr;
if ((err = sysfs_create_group(&client->dev.kobj, &data->attrs)))
err = sysfs_create_group(&client->dev.kobj, &data->attrs);
if (err)
goto exit_free;

data->hwmon_dev = hwmon_device_register(&client->dev);
Expand Down

0 comments on commit e135db3

Please sign in to comment.