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: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20230807131951.3443880-6-yangyingliang@huawei.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
Yang Yingliang 2023-08-07 21:19:51 +08:00 • committed by Sebastian Reichel
commit 5b69b5f209