diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-11-02 10:56:55 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-03 12:09:23 +0300 |
| commit | 35ad0d901eac56ac6af2e4d726f255486c1ee36c (patch) | |
| tree | f7ef39c1365d4dc9449c24294113beab042b098b /include/linux/debugobjects.h | |
| parent | 8fba56b4cd53d6c588641db46d74a13d3c0d8602 (diff) | |
| download | linux-35ad0d901eac56ac6af2e4d726f255486c1ee36c.tar.xz | |
usb: misc: brcmstb-usb-pinmap: Fix an IS_ERR() vs NULL check
The devm_ioremap() function doesn't return error pointers, it returns
NULL on error.
Fixes: 517c4c44b323 ("usb: Add driver to allow any GPIO to be used for 7211 USB signals")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20201102075655.GA4163205@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
