Commit b502a926 authored by Clemens Gruber's avatar Clemens Gruber Committed by Guenter Roeck

hwmon: (mcp3021) replace S_IRUGO with 0444

Replace S_IRUGO with the better readable 0444.
This fixes a checkpatch warning.
Signed-off-by: default avatarClemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 10de07f4
...@@ -99,7 +99,7 @@ static ssize_t show_in_input(struct device *dev, struct device_attribute *attr, ...@@ -99,7 +99,7 @@ static ssize_t show_in_input(struct device *dev, struct device_attribute *attr,
return sprintf(buf, "%d\n", in_input); return sprintf(buf, "%d\n", in_input);
} }
static DEVICE_ATTR(in0_input, S_IRUGO, show_in_input, NULL); static DEVICE_ATTR(in0_input, 0444, show_in_input, NULL);
static int mcp3021_probe(struct i2c_client *client, static int mcp3021_probe(struct i2c_client *client,
const struct i2c_device_id *id) const struct i2c_device_id *id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment