]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/usb/phy/phy-tahvo.c
treewide: Use DEVICE_ATTR_RW
[mirror_ubuntu-bionic-kernel.git] / drivers / usb / phy / phy-tahvo.c
index b3ce42edb373f30604092cef66ee34d3870c7df1..7f7c5c82420d10a1bf2b46cb99a67e754b407408 100644 (file)
@@ -310,7 +310,7 @@ static ssize_t otg_mode_store(struct device *device,
 
        return r;
 }
-static DEVICE_ATTR(otg_mode, 0644, otg_mode_show, otg_mode_store);
+static DEVICE_ATTR_RW(otg_mode);
 
 static struct attribute *tahvo_attributes[] = {
        &dev_attr_vbus.attr,