Jean Delvare
39deb6993e
hwmon: (w83795) Simplify temperature sensor type handling
...
All 3 temperature sensor type sysfs functions (show_temp_mode,
store_temp_mode and show_dts_mode) can be simplified. We don't
create these files when the correponding input isn't in temperature
monitoring mode, so there is no point in handling that case.
Likewise, we don't allow changing inputs from temperature to voltage,
so the code handling this case is dead and can be removed.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2010-10-28 20:31:48 +02:00
..
2010-08-06 09:25:50 -06:00
2009-09-15 17:18:13 +02:00
2009-09-15 17:18:13 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-14 21:17:27 +01:00
2010-10-18 11:03:14 +02:00
2010-10-18 11:03:14 +02:00
2009-12-14 21:17:26 +01:00
2010-09-17 17:24:14 +02:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2010-08-25 15:42:10 +02:00
2010-06-03 11:33:58 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-14 21:17:27 +01:00
2010-01-25 15:00:49 +01:00
2010-05-27 19:58:54 +02:00
2009-12-14 21:17:26 +01:00
2010-08-14 21:08:52 +02:00
2010-10-15 15:53:27 +02:00
2010-03-30 22:02:32 +09:00
2010-10-25 14:11:21 -07:00
2010-05-27 19:59:01 +02:00
2009-12-14 21:17:26 +01:00
2010-09-17 17:24:12 +02:00
2010-08-14 21:08:54 +02:00
2009-09-15 17:18:13 +02:00
2010-10-03 05:57:04 -07:00
2010-10-24 13:41:39 -07:00
2010-10-05 15:01:04 +02:00
2010-10-18 11:03:14 +02:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2010-10-25 14:11:37 -07:00
2010-10-25 14:11:20 -07:00
2010-10-18 11:03:14 +02:00
2009-06-15 18:39:50 +02:00
2010-06-20 09:22:31 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-08-14 21:08:50 +02:00
2010-08-09 20:45:10 -07:00
2010-08-05 13:26:19 +01:00
2010-10-28 20:31:42 +02:00
2010-06-20 09:22:31 +02:00
2010-10-28 20:31:44 +02:00
2010-10-25 14:44:59 -07:00
2010-10-25 14:11:38 -07:00
2010-10-25 14:11:39 -07:00
2010-10-25 14:11:39 -07:00
2010-05-27 19:58:38 +02:00
2010-03-30 22:02:32 +09:00
2010-06-03 11:33:58 +02:00
2010-10-28 20:31:44 +02:00
2010-08-14 21:08:50 +02:00
2009-12-14 21:17:26 +01:00
2010-02-05 19:58:36 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2010-10-28 20:31:44 +02:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2010-09-17 17:24:15 +02:00
2009-10-04 22:53:42 +02:00
2010-08-14 21:08:49 +02:00
2010-10-25 14:11:20 -07:00
2010-10-28 20:31:44 +02:00
2010-03-30 22:02:32 +09:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2010-08-12 11:28:03 +02:00
2010-08-14 21:08:48 +02:00
2010-08-14 21:09:00 +02:00
2009-12-14 21:17:26 +01:00
2010-10-25 14:11:21 -07:00
2010-10-28 20:31:44 +02:00
2010-04-14 16:14:08 +02:00
2010-01-10 20:52:35 +01:00
2010-08-09 20:45:10 -07:00
2009-09-15 17:18:13 +02:00
2010-01-25 15:00:48 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2010-06-03 11:33:58 +02:00
2010-05-27 19:58:49 +02:00
2010-06-03 11:33:58 +02:00
2010-08-06 09:25:50 -06:00
2010-01-10 20:52:35 +01:00
2010-10-25 14:11:21 -07:00
2009-09-15 17:18:13 +02:00
2010-03-06 11:26:45 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2010-09-17 17:24:13 +02:00
2009-12-16 21:38:29 +01:00
2010-06-03 11:33:58 +02:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2010-10-05 15:01:04 +02:00
2010-10-28 20:31:48 +02:00
2010-03-30 22:02:32 +09:00
2009-09-17 09:46:51 +02:00