]> git.baikalelectronics.ru Git - kernel.git/commit
USB: musb: fix up one odd DEVICE_ATTR() usage
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jan 2018 10:24:09 +0000 (11:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jan 2018 07:49:52 +0000 (08:49 +0100)
commit0a37175aa6c13d86389523f99f8d06d05f8e9c64
treea2ab8c64de5e2c3755ae888bc21966bc9a688658
parent127e81c7ddbe314f5080f953845220f17a5a4fe8
USB: musb: fix up one odd DEVICE_ATTR() usage

It really should be DEVICE_ATTR_WO(), no need to "open code" it.

Acked-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_core.c