mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
15 KiB
15 KiB