On Tue, Apr 04, 2017 at 12:20:34PM -0700, John Muir wrote:
> Signed-off-by: John Muir
> ---
> .../devicetree/bindings/hwmon/max31760.txt | 58
> ++
> 1 file changed, 58 insertions(+)
> create mode 100644
We never use this global variable.
Signed-off-by: Dan Carpenter
diff --git a/drivers/hwmon/aspeed-pwm-tacho.c b/drivers/hwmon/aspeed-pwm-tacho.c
index 2f22add5c73b..b96fff50a3ee 100644
--- a/drivers/hwmon/aspeed-pwm-tacho.c
+++ b/drivers/hwmon/aspeed-pwm-tacho.c
@@
What we want is for regmap_read() to return zero meaning success and
for RESULT_STATUS_MASK which is BIT(31) to be set set.
The current code is buggy in two ways. It requires both failure
conditions should be met before it fails. And if it times out then it
returns zero instead of -EIO.
Fixes: