diff options
| author | Bartosz Golaszewski <[email protected]> | 2023-11-15 16:29:01 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2023-11-20 13:24:50 +0000 |
| commit | d652049e118ffe9227155f7b9b85faf15fc91f8f (patch) | |
| tree | d0d6922f2e188995cfdaca4f9a432175e60b8693 /scripts/gcc-plugins/gcc-common.h | |
| parent | gpio: sifive: remove unneeded call to platform_set_drvdata() (diff) | |
| download | kernel-d652049e118ffe9227155f7b9b85faf15fc91f8f.tar.gz kernel-d652049e118ffe9227155f7b9b85faf15fc91f8f.zip | |
gpio: mockup: initialize a managed pointer in place
The preferred pattern for autopointers is to initialize them when they're
declared unless it doesn't make sense. Move the declaration of the
managed device pointer to where it's initialized.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
