Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | extcon: ptn5150: Fix return value check in ptn5150_i2c_probe() | Wei Yongjun | 2019-02-11 | 1 | -4/+4 |
| | | | | | | | | | In case of error, the function devm_gpiod_get() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> | ||||
* | extcon: Add support for ptn5150 extcon driver | Vijai Kumar K | 2019-02-11 | 1 | -0/+339 |
PTN5150 is a small thin low power CC (Configurationn Channel) Logic chip supporting the USB Type-C connector application with CC control logic detection and indication functions. Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com> [cw00.choi: Fix bulid dependency and clean-up code] Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> |