diff options
author | Andy Shevchenko <[email protected]> | 2023-10-03 17:21:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-10-05 11:12:59 +0200 |
commit | 6136597c8feae2cfefd80973b966c092c4ab42d9 (patch) | |
tree | 0bb92e6b29eb03621aefb892c03c736a6b977ecc /scripts/generate_rust_analyzer.py | |
parent | a549e3aac29cde86c1ade76909df759918c11653 (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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions