diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-12-16 07:39:37 +0900 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-01-13 16:38:50 +0000 |
commit | d36925be53821306ffcaf642967335cd1fb12410 (patch) | |
tree | ccc5667dd5a4221104e45a262839bcb9c62d7b2c /drivers/tty/moxa.h | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) |
PCI: uniphier: remove module code from built-in driver
builtin_platform_driver() and MODULE_* are always odd combination.
This file is not compiled as a module by anyone because
CONFIG_PCIE_UNIPHIER is a bool option.
Let's remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.
We explicitly disallow a driver unbind, since that doesn't have a
sensible use case anyway, and it allows us to drop the ".remove" code.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Diffstat (limited to 'drivers/tty/moxa.h')
0 files changed, 0 insertions, 0 deletions