Merge "disp: msm: dp: return -ENODEV when USBPD module is not enabled"

This commit is contained in:
qctecmdr 2020-06-12 03:53:36 -07:00 • committed by Gerrit - the friendly Code Review server
commit d832e58ba2

View file

@ -65,7 +65,7 @@ void dp_usbpd_put(struct dp_hpd *pd);
static inline struct dp_hpd *dp_usbpd_get(struct device *dev,
struct dp_hpd_cb *cb)
{
return NULL;
return ERR_PTR(-ENODEV);
}
static inline void dp_usbpd_put(struct dp_hpd *pd)