Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3a5838da authored by Manu Gautam's avatar Manu Gautam
Browse files

msm: ehci-hsic: Don't change DEVICE name from driver



Some userspace scripts and other kernel modules may perform
binding/unbinding of HSIC driver at runtime.
Since, device name (also used for device-driver binding) may
change across targets if HSIC core is mapped at different address
and they use device tree for the configuration.
To overcome this driver currently overrides pdev->device name from
its probe routine but doesn't change pdev->name. This results in
pdev->name becoming a dangling pointer as the memory is freed by
dev_set_name call. Get rid of this code changing dev.name and
let the targets's board file override this using AUX_DATA mechanism.

CRs-fixed: 568103
Change-Id: I755044e8c73064c2c13dbb6e8e1002f38c9379e0
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 251b4cb7
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