Vivien Didelot
e3122b7fae
net: dsa: use DEVICE_ATTR_RW to declare temp1_max
...
Since commit da4759c (sysfs: Use only return value from is_visible for
the file mode), it is possible to reduce the permissions of a file.
So declare temp1_max with the DEVICE_ATTR_RW macro and remove the write
permission in dsa_hwmon_attrs_visible if set_temp_limit isn't provided.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-04-17 15:58:37 -04:00
..
2015-02-14 23:08:44 +01:00
2015-03-20 18:51:09 -04:00
2015-03-02 16:43:41 -05:00
2015-04-02 14:05:00 -04:00
2015-03-03 17:01:37 -05:00
2015-04-15 09:00:47 -07:00
2015-03-05 13:17:39 -05:00
2015-04-02 14:04:59 -04:00
2015-04-09 08:36:54 +03:00
2015-04-13 17:17:29 +02:00
2015-03-20 18:51:09 -04:00
2015-04-01 11:28:22 +02:00
2015-04-07 19:08:35 +03:00
2015-04-17 13:29:41 -04:00
2015-03-06 21:50:02 -05:00
2015-04-13 16:40:05 -04:00
2015-04-07 15:25:55 -04:00
2015-04-17 15:58:37 -04:00
2015-03-03 17:01:38 -05:00
2015-03-01 13:40:23 -05:00
2015-03-14 17:11:31 +01:00
2015-04-17 13:28:31 -04:00
2015-04-14 18:51:19 -04:00
2015-03-02 13:06:31 -05:00
2015-03-09 23:38:02 -04:00
2015-04-02 16:16:53 -04:00
2015-03-31 13:58:35 -04:00
2015-04-06 22:34:15 -04:00
2015-03-02 13:06:31 -05:00
2015-04-15 09:00:47 -07:00
2015-03-27 19:18:50 +01:00
2015-03-12 23:05:04 -04:00
2015-04-14 18:51:19 -04:00
2015-03-31 13:58:35 -04:00
2015-03-25 17:18:33 +01:00
2015-03-02 16:43:41 -05:00
2015-04-13 16:35:16 -04:00
2015-04-15 09:00:47 -07:00
2015-03-23 22:01:28 -04:00
2015-03-02 13:06:31 -05:00
2015-04-14 15:44:14 -04:00
2015-02-04 14:57:45 -08:00
2015-03-02 16:43:41 -05:00
2015-04-11 15:53:35 -04:00
2015-04-17 13:29:28 -04:00
2015-03-25 11:40:16 -04:00
2015-04-15 09:00:47 -07:00
2015-03-23 16:44:56 -04:00
2015-04-07 15:29:08 -04:00
2015-03-02 13:06:31 -05:00
2015-03-02 13:06:31 -05:00
2015-04-08 09:19:29 +02:00
2015-03-02 13:06:31 -05:00
2015-04-14 15:44:14 -04:00
2015-04-09 00:02:26 -04:00
2015-01-07 13:08:04 +01:00
2015-03-04 00:26:06 -05:00
2015-04-11 22:24:41 -04:00