]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: mediatek: make mtk-common explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 23 Aug 2016 21:19:39 +0000 (17:19 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 27 Aug 2016 11:11:53 +0000 (13:11 +0200)
commit70ab605936bc09b042a0f8a48bbd56fa9b1d2b38
treead7a0b0cdc92046584865e0e022298046a2847da
parent746732fab2c79a028ed1d8f45c257b855e22f768
pinctrl: mediatek: make mtk-common explicitly non-modular

The Makefile currently controlling compilation of this code is:

  drivers/pinctrl/mediatek/pinctrl-mtk-common.o
    ---> drivers/pinctrl/mediatek/Makefile:obj-y += pinctrl-mtk-common.o

...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.

We 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 doesn't need that.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Hongzhou Yang <hongzhou.yang@mediatek.com>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mtk-common.c