diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-11-15 17:29:01 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-11-20 14:24:50 +0100 |
commit | d652049e118ffe9227155f7b9b85faf15fc91f8f (patch) | |
tree | d0d6922f2e188995cfdaca4f9a432175e60b8693 /drivers/hid/hid-a4tech.c | |
parent | 66d6143ebff038a69d875e582e536bae02b14290 (diff) |
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 <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/hid/hid-a4tech.c')
0 files changed, 0 insertions, 0 deletions