summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-03-15 21:51:41 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2021-03-26 16:56:19 +0300
commite5391a02bce2422fa57a520dfaaf2693ec7f9546 (patch)
tree03f6a590fbbc4fa9a0b6ef013fa91e57c0bc0cf5 /Documentation
parent266315fb7cbed86f628f3fb4bb89a90943b66718 (diff)
downloadlinux-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