diff options
| author | Greg Kroah-Hartman <[email protected]> | 2022-08-10 14:36:56 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-08-19 11:05:58 +0200 |
| commit | c4c2fac94dd04d982676278123affdeb11c32a72 (patch) | |
| tree | 51a0c28f32a4f339b01067fed8ccfdd081e5f48a /tools/perf/scripts/python/stackcollapse.py | |
| parent | b9f20cff54f76e5fdc5be3eb33286416b3494492 (diff) | |
USB: gadget: f_mass_storage: get rid of DEVICE_ATTR() usage
The last holdout in the drivers/usb/* tree using DEVICE_ATTR() is the
f_mass_storage driver, so move it to use DEVICE_ATTR_RW() instead. The
mode is overridden in the is_visible callback to set it properly
depending on if this is a cdrom or removable device.
Cc: Felipe Balbi <[email protected]>
Cc: Alan Stern <[email protected]>
Cc: Maxim Devaev <[email protected]>
Cc: Wesley Cheng <[email protected]>
Cc: Neal Liu <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Nikita Yushchenko <[email protected]>
Cc: Cai Huoqing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions