Skip to content
Commit 5b69b5f2 authored by Yang Yingliang's avatar Yang Yingliang Committed by Sebastian Reichel
Browse files

power: reset: syscon-poweroff: use builtin_platform_driver() to simplify code



The syscon_poweroff_register() doesn't do anything special, so it can use the
builtin_platform_driver() macro to eliminate boilerplate code.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20230807131951.3443880-6-yangyingliang@huawei.com


Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 6a7f7f27
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