diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2023-08-10 21:47:10 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-22 14:45:19 +0200 |
commit | 8d1de0ebce71feb0961458dee7695f1f25767a92 (patch) | |
tree | f8c93531670d6b83cf4d7cf7448c99e41d3915b2 /crypto/algif_rng.c | |
parent | f72ae60881ff685004d7de7152517607fcd9968f (diff) | |
download | linux-stable-8d1de0ebce71feb0961458dee7695f1f25767a92.tar.gz linux-stable-8d1de0ebce71feb0961458dee7695f1f25767a92.tar.bz2 linux-stable-8d1de0ebce71feb0961458dee7695f1f25767a92.zip |
usb: dwc3: remove unnecessary platform_set_drvdata()
Remove unnecessary platform_set_drvdata(..., NULL) in ->remove(),
the driver_data will be cleared in device_unbind_cleanup() after
calling ->remove() in driver call code.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20230810134710.114356-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/algif_rng.c')
0 files changed, 0 insertions, 0 deletions