Skip to content
Commit 892f6ebc authored by Jules Maselbas's avatar Jules Maselbas Committed by Greg Kroah-Hartman
Browse files

usb: host: max3421-hcd: Remove pdata test in max3421_hub_control()



We do not have to test if platform_data pointer is null in
max3421_hub_control(), as the driver probe will fail if no
platform_data is found.

Fixes: 721fdc83 ("usb: max3421: Add devicetree support")
Signed-off-by: default avatarJules Maselbas <jules.maselbas@grenoble-inp.org>
Reported-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4756f35f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment