diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-10-03 17:21:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-05 12:12:59 +0300 |
commit | 6136597c8feae2cfefd80973b966c092c4ab42d9 (patch) | |
tree | 0bb92e6b29eb03621aefb892c03c736a6b977ecc /drivers/base/Makefile | |
parent | a549e3aac29cde86c1ade76909df759918c11653 (diff) | |
download | linux-6136597c8feae2cfefd80973b966c092c4ab42d9.tar.xz |
driver core: platform: Use temporary variable in platform_device_add()
With the temporary variable for the struct device pointer the code
looks better and slightly easier to read and parse by human being.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231003142122.3072824-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/Makefile')
0 files changed, 0 insertions, 0 deletions