power: vexpress: cleanup: use builtin_platform_driver
authorAnders Roxell <anders.roxell@linaro.org>
Wed, 27 May 2020 11:26:05 +0000 (13:26 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 May 2020 10:31:30 +0000 (12:31 +0200)
commita90d990452302ce3dac4d373d60a031439cc1885
tree3fe9d5b36090a1fef0a39dbaae8a7d4ea174924c
parent73174acc9c75960af2daa7dcbdb9781fc0d135cb
power: vexpress: cleanup: use builtin_platform_driver

Use the helper macro for builtin drivers taht don't do anything special
in driver init. This removes some boilerplate code.

Link: https://lore.kernel.org/r/20200527112608.3886105-3-anders.roxell@linaro.org
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/power/reset/vexpress-poweroff.c