summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inahwmon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inahwmon.c b/inahwmon.c
index 2cbaab0..1649190 100644
--- a/inahwmon.c
+++ b/inahwmon.c
@@ -7,6 +7,7 @@
static int ina260_read(struct device *dev, enum hwmon_sensor_types type,
u32 attr, int channel, long *val)
{
+ *val=5;
return 0;
}