diff options
| author | 2021-03-15 20:51:41 +0200 | |
|---|---|---|
| committer | 2021-03-26 14:56:19 +0100 | |
| commit | e5391a02bce2422fa57a520dfaaf2693ec7f9546 (patch) | |
| tree | 03f6a590fbbc4fa9a0b6ef013fa91e57c0bc0cf5 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | gpiolib: Fold conditionals into a simple ternary operator (diff) | |
| download | linux-dev-e5391a02bce2422fa57a520dfaaf2693ec7f9546.tar.xz linux-dev-e5391a02bce2422fa57a520dfaaf2693ec7f9546.zip | |
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 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
