Skip to content
Commit d652049e authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

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: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 66d6143e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment