X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=drivers%2Fusb%2Fphy%2Fphy-tahvo.c;h=7f7c5c82420d10a1bf2b46cb99a67e754b407408;hb=69d725f4021475c19eebe4df21744b060bab7bc1;hp=b3ce42edb373f30604092cef66ee34d3870c7df1;hpb=65b6c2f31b45d10003c47b5b2814c754c9300965;p=mirror_ubuntu-bionic-kernel.git diff --git a/drivers/usb/phy/phy-tahvo.c b/drivers/usb/phy/phy-tahvo.c index b3ce42edb373..7f7c5c82420d 100644 --- a/drivers/usb/phy/phy-tahvo.c +++ b/drivers/usb/phy/phy-tahvo.c @@ -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,