treewide: Use DEVICE_ATTR_WO
[platform/kernel/linux-rpi.git] / drivers / net / wimax / i2400m / sysfs.c
index 1237109..8c67df1 100644 (file)
@@ -65,8 +65,7 @@ error_bad_value:
 }
 
 static
-DEVICE_ATTR(i2400m_idle_timeout, S_IWUSR,
-           NULL, i2400m_idle_timeout_store);
+DEVICE_ATTR_WO(i2400m_idle_timeout);
 
 static
 struct attribute *i2400m_dev_attrs[] = {