Commit a5f81642 authored by Kerem Karabay's avatar Kerem Karabay Committed by Greg Kroah-Hartman
Browse files

USB: core: add 'shutdown' callback to usb_driver



Currently there is no standardized method for USB drivers to handle
shutdown events. This patch simplifies running code on shutdown for USB
devices by adding a shutdown callback to usb_driver.

Signed-off-by: default avatarKerem Karabay <kekrby@gmail.com>
Signed-off-by: default avatarAditya Garg <gargaditya08@live.com>
Link: https://lore.kernel.org/r/7AAC1BF4-8B60-448D-A3C1-B7E80330BE42@live.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 41ea26a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment