reset: oxnas: make it explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 8 Feb 2017 00:18:47 +0000 (19:18 -0500)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 8 Mar 2017 08:36:45 +0000 (09:36 +0100)
commit80b8b1a15cbf24827e588d397500d1c1dc1e7a43
tree31259c45403563d89de4fc4e900b83a9de065900
parent8290924e6878069683254e118fdc3a9e422a0ac0
reset: oxnas: make it explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/reset/Kconfig:config RESET_OXNAS
drivers/reset/Kconfig:  bool

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

Lets remove the couple traces of modular infrastructure use, 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.

Cc: linux-oxnas@lists.tuxfamily.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-oxnas.c