diff options
author | Rob Herring <robh@kernel.org> | 2017-01-16 16:54:30 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-19 17:22:34 +0100 |
commit | 3086365db61ec00d206afa2dbaec4b3d771a38f1 (patch) | |
tree | 14d7a883b3b6fa34560f989279c95eece290d99f /include/linux/tty.h | |
parent | ed3f0af8c0b7e161efc5ba7228ca4cbd747c903d (diff) | |
download | op-kernel-dev-3086365db61ec00d206afa2dbaec4b3d771a38f1.zip op-kernel-dev-3086365db61ec00d206afa2dbaec4b3d771a38f1.tar.gz |
tty_port: make tty_port_register_device wrap tty_port_register_device_attr
tty_register_device is just a wrapper for tty_register_device_attr with
NULL passed for drvdata and attr_grp. So similarly make
tty_port_register_device a wrapper of tty_port_register_device_attr so that
additions don't have to be made in both functions.
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-By: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty.h')
0 files changed, 0 insertions, 0 deletions