diff options
| author | Wei Yongjun <[email protected]> | 2019-08-26 12:00:13 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2019-09-11 15:58:39 +0200 |
| commit | f70d9a2440346d942f1f9dbda31da5a77510a05f (patch) | |
| tree | 00e94d9a6d7a0e992d1e526e802ead8787f6ec9b /tools/perf/scripts/python | |
| parent | f47fdb855dc261353f506da4def890c42bb37ad4 (diff) | |
mmc: sdhci-of-aspeed: Fix return value check in aspeed_sdc_probe()
In case of error, the function of_platform_device_create() returns
NULL pointer not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Andrew Jeffery <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions