staging: mt7621-pci-phy: use builtin_platform_driver()
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sat, 21 Mar 2020 13:36:23 +0000 (14:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Mar 2020 10:32:42 +0000 (11:32 +0100)
commit1a4bcfa6028563b358317515c0e514545231fb2a
treef50f43f6a58ee00fa7fdba40defd1e3d76ac53ce
parent3856f4e65210597bed9972edb84e88b926872f36
staging: mt7621-pci-phy: use builtin_platform_driver()

Macro builtin_platform_driver can be used for builtin drivers
that don't do anything in driver init. So, use the macro
builtin_platform_driver and remove some boilerplate code.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20200321133624.31388-3-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c