: hwmon: powr1220: Fix warning found by kernel test robot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add missing break in case statement.

Fixes: 19d8ebde2889 ("hwmon: (powr1220) Upgrade driver to support hwmon info infrastructure")
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: Michael Shych <michaelsh@xxxxxxxxxx>
---
 drivers/hwmon/powr1220.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/powr1220.c b/drivers/hwmon/powr1220.c
index 6fa4ddbc1a41..f77dc6db31ac 100644
--- a/drivers/hwmon/powr1220.c
+++ b/drivers/hwmon/powr1220.c
@@ -189,7 +189,7 @@ powr1220_is_visible(const void *data, enum hwmon_sensor_types type, u32
 		default:
 			break;
 		}
-
+		break;
 	default:
 		break;
 	}
-- 
2.14.1




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux