]> asedeno.scripts.mit.edu Git - linux.git/commit
phy: make phy-armada375-usb2 explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 10 Dec 2018 00:34:50 +0000 (19:34 -0500)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 7 Feb 2019 05:40:45 +0000 (11:10 +0530)
commit4a72dcbee944a70843458692c6b7fa13045c1232
tree90b3fafda4d50194b4376356a9eb05048a665f0c
parenta211034a0d3752bce6968f6cae3857c79ac0f998
phy: make phy-armada375-usb2 explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/phy/marvell/Kconfig:config ARMADA375_USBCLUSTER_PHY
drivers/phy/marvell/Kconfig:    def_bool y

...meaning that it currently is not being built as a module by anyone.

Lets remove the couple of traces of modular infrastructure, so that
when reading the driver there is no doubt it is builtin-only.

Since module_platform_driver() uses the same init level priority as
builtin_platform_driver() the init ordering remains unchanged with
this commit.

Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

We also delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/marvell/phy-armada375-usb2.c