diff options
| author | Dan Carpenter <[email protected]> | 2019-10-11 21:50:55 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-10-15 20:01:58 +0200 |
| commit | c8dd192be821039d7023e0a5869d2cdf3acdef7e (patch) | |
| tree | d9a75f5597c345253ccb3a94f495ff5210146f22 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 67f195806afcb17e46a4578130526602d3465781 (diff) | |
usb: typec: fix an IS_ERR() vs NULL bug in hd3ss3220_probe()
The device_get_named_child_node() function doesn't return error
pointers, it returns NULL on error.
Fixes: 1c48c759ef4b ("usb: typec: driver for TI HD3SS3220 USB Type-C DRP port controller")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/20191011185055.GA20972@mwanda
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions