11a51b0ef5423ccb86da0fec4c44c476666c0da2

Return ERR_PTR with -ENODEV when the USBPD module is not enabled. This allows the DP driver to handle the failure correctly and prevents any potential NULL pointer dereferencing in the clean up path. Change-Id: I4fbc559276bebe770a27935243a59c10c1bb5491 Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Beskrivning
No description provided
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%