Skip to content
Commit 1027a42c authored by Daniel González Cabanelas's avatar Daniel González Cabanelas Committed by Sebastian Reichel
Browse files

power: reset: linkstation-poweroff: add missing put_device()



The of_mdio_find_bus() takes a reference to the underlying device
structure, we should release that reference using a put_device() call.

Signed-off-by: default avatarDaniel González Cabanelas <dgcbueu@gmail.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 5c8fe583
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment