diff options
| author | Ahmed S. Darwish <[email protected]> | 2020-10-19 10:06:37 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-10-28 11:32:12 +0000 |
| commit | 19220bac2c134f25ce06e77da746793411536af6 (patch) | |
| tree | afe0ae07cee5bce944f2929723ffb04e5c9c74a1 /drivers/usb/core/buffer.c | |
| parent | usb: atm: Replace in_interrupt() usage in comment (diff) | |
| download | kernel-19220bac2c134f25ce06e77da746793411536af6.tar.gz kernel-19220bac2c134f25ce06e77da746793411536af6.zip | |
usb: hosts: Remove in_interrupt() from comments
The usage of in_interrupt() in drivers is phased out for various reasons.
Various comments use !in_interrupt() to describe calling context for probe()
and remove() functions. That's wrong because the calling context has to be
preemptible task context, which is not what !in_interrupt() describes.
Cleanup the comments. While at it add the missing kernel doc argument
descriptors.
Signed-off-by: Ahmed S. Darwish <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Alan Stern <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Kukjin Kim <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/buffer.c')
0 files changed, 0 insertions, 0 deletions
