diff options
| author | 2023-10-03 17:21:21 +0300 | |
|---|---|---|
| committer | 2023-10-05 11:12:59 +0200 | |
| commit | 6136597c8feae2cfefd80973b966c092c4ab42d9 (patch) | |
| tree | 0bb92e6b29eb03621aefb892c03c736a6b977ecc /include/linux/bcma/ssh:/git@git.zx2c4.com/git: | |
| parent | driver core: platform: Refactor error path in a couple places (diff) | |
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 'include/linux/bcma/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
