Merge tag 'fbdev-v4.16' of git://github.com/bzolnier/linux
[linux-2.6-block.git] / drivers / video / fbdev / auo_k190x.c
index b8894013014bf86d3d5986b0576bccca3d7da457..9d24d1b3e9ef3e7ca92b99554bdd646f7710b5fe 100644 (file)
@@ -708,8 +708,8 @@ static ssize_t temp_show(struct device *dev, struct device_attribute *attr,
        return sprintf(buf, "%d\n", temp);
 }
 
-static DEVICE_ATTR(update_mode, 0644, update_mode_show, update_mode_store);
-static DEVICE_ATTR(flash, 0644, flash_show, flash_store);
+static DEVICE_ATTR_RW(update_mode);
+static DEVICE_ATTR_RW(flash);
 static DEVICE_ATTR(temp, 0644, temp_show, NULL);
 
 static struct attribute *auok190x_attributes[] = {