PM / devfreq: make devfreq explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 25 Jun 2016 18:43:47 +0000 (03:43 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 6 Jul 2016 04:11:22 +0000 (13:11 +0900)
commit417dc4bb6b8daa6f87d42bc8ffcefe871f7282bc
tree2a33f91f687d93bf301e685e465bf02eda49684e
parenta99cde438de0c4c0cecc1d1af1a55a75b10bfdef
PM / devfreq: make devfreq explicitly non-modular

The Kconfig currently controlling compilation of this code is:

menuconfig PM_DEVFREQ
      bool "Generic Dynamic Voltage and Frequency Scaling (DVFS) support"

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

Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.

This code wasn't using module_init, so we don't need to be concerned
with altering the initcall level here.

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

We don't replace module.h with init.h since the file already has that.
But we do add export.h since this file does export some symbols.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/devfreq.c