diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-03-15 21:51:41 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2021-03-26 16:56:19 +0300 |
commit | e5391a02bce2422fa57a520dfaaf2693ec7f9546 (patch) | |
tree | 03f6a590fbbc4fa9a0b6ef013fa91e57c0bc0cf5 /Documentation | |
parent | 266315fb7cbed86f628f3fb4bb89a90943b66718 (diff) | |
download | linux-e5391a02bce2422fa57a520dfaaf2693ec7f9546.tar.xz |
gpio: mockup: Drop duplicate NULL check in gpio_mockup_unregister_pdevs()
Since platform_device_unregister() is NULL-aware, we don't need to duplicate
this check. Remove it and fold the rest of the code.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions