change S_IRUGO to the better readable 0444, which fixes a
checkpatch warning.
Signed-off-by: Clemens Gruber
---
.../devicetree/bindings/hwmon/mcp3021.txt | 21 +++
Documentation/hwmon/mcp3021| 5 +
drivers/hwmon/mcp3021.c| 184
fixes a checkpatch warning.
Signed-off-by: Clemens Gruber
---
Documentation/hwmon/mcp3021 | 5 ++
drivers/hwmon/mcp3021.c | 143 +++-
2 files changed, 107 insertions(+), 41 deletions(-)
diff --git a/Documentation/hwmon/mcp3021 b/Documentation/hwmon
Support setting the reference voltage from the device tree.
Rework of driver structure, put chip specific data in a separate
structure and assign it depending on device id from platform data or
DT match.
Signed-off-by: Clemens Gruber
---
Documentation/hwmon/mcp3021 | 6 ++
drivers/hwmon
Replace S_IRUGO with the better readable 0444.
This fixes a checkpatch warning.
Signed-off-by: Clemens Gruber
---
drivers/hwmon/mcp3021.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwmon/mcp3021.c b/drivers/hwmon/mcp3021.c
index a8cf97f..97c832d 100644
--- a
Document the devicetree bindings for the Microchip MCP3021/3221.
Signed-off-by: Clemens Gruber
---
Documentation/devicetree/bindings/hwmon/mcp3021.txt | 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/mcp3021.txt
diff --git