aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/wireless/ath/ath10k/thermal.c
diff options
context:
space:
mode:
authorMarcin Rokicki <marcin.rokicki@tieto.com>2017-02-20 14:40:27 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2017-04-05 10:43:44 +0300
commit53c8d48bb72388e22110e5ef1f52dfc3fac6d97f (patch)
tree4706288722daa021b3b46b1710d3ea7a75517713 /drivers/net/wireless/ath/ath10k/thermal.c
parentath10k: fix block comments style (diff)
downloadwireguard-linux-53c8d48bb72388e22110e5ef1f52dfc3fac6d97f.tar.xz
wireguard-linux-53c8d48bb72388e22110e5ef1f52dfc3fac6d97f.zip
ath10k: use octal permission representation
Fix output from checkpatch.pl like: Symbolic permissions 'S_IRUSR' are not preferred. Consider using octal permissions '0400'. Signed-off-by: Marcin Rokicki <marcin.rokicki@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/thermal.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/thermal.c b/drivers/net/wireless/ath/ath10k/thermal.c
index f719d7d43cb0..87948aff1bd5 100644
--- a/drivers/net/wireless/ath/ath10k/thermal.c
+++ b/drivers/net/wireless/ath/ath10k/thermal.c
@@ -124,7 +124,7 @@ void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature)
complete(&ar->thermal.wmi_sync);
}
-static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, ath10k_thermal_show_temp,
+static SENSOR_DEVICE_ATTR(temp1_input, 0444, ath10k_thermal_show_temp,
NULL, 0);
static struct attribute *ath10k_hwmon_attrs[] = {