diff options
author | Tiezhu Yang <[email protected]> | 2020-05-23 19:45:25 +0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-05-25 13:40:47 +0200 |
commit | b5d9ff10dca49f4d4b7846c3751c6bec50d07375 (patch) | |
tree | f8cbc441159edfbb53ec7d8b06dc0e774ecebf4c /drivers/usb/cdns3/cdns3-debug.h | |
parent | 6fe7c07a9a807445a02e88ce9545fa17910d8505 (diff) |
pinctrl: Fix return value about devm_platform_ioremap_resource()
When call function devm_platform_ioremap_resource(), we should use IS_ERR()
to check the return value and return PTR_ERR() if failed.
Fixes: 4b024225c4a8 ("pinctrl: use devm_platform_ioremap_resource() to simplify code")
Signed-off-by: Tiezhu Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions