sparc: kernel: use builtin_platform_driver
authorGeliang Tang <geliangtang@gmail.com>
Wed, 23 Nov 2016 15:06:05 +0000 (23:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Dec 2016 02:15:48 +0000 (18:15 -0800)
commitb1ebb975507d07d3ce84695273acc872786194da
treec495bca3d3a29787e617d9406dd536d9c0638f72
parente8f4aa6087fa80732382881ef7c0c96733bb1984
sparc: kernel: use builtin_platform_driver

Use builtin_platform_driver() helper to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/power.c