diff options
| author | Tiezhu Yang <[email protected]> | 2020-05-25 15:31:04 +0800 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2020-08-05 18:42:46 +0200 |
| commit | fd998972458f06d3fadbf4e55a3725c4edc17c12 (patch) | |
| tree | 78e99da233e2db26b97fe64d28201e7b3af8e390 /scripts/objdiff | |
| parent | ff01cb1ca1f9e02e54e562bb97999e4bf1726a9e (diff) | |
watchdog: bcm_kona_wdt: Use correct return value for bcm_kona_wdt_probe()
When call function devm_platform_ioremap_resource(), we should use IS_ERR()
to check the return value and return PTR_ERR() if failed.
Signed-off-by: Tiezhu Yang <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions