diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-08-13 15:53:42 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-09 03:09:13 +0400 |
commit | 4ebe78655476e5e94ab12867eb732923cae50ea4 (patch) | |
tree | d70f364c8d4274096db5611d8ac9d6b68d8800b9 /drivers/tty | |
parent | c10b73905a0bb4b91e6c153dbbf4c2809084e4c2 (diff) | |
download | linux-4ebe78655476e5e94ab12867eb732923cae50ea4.tar.xz |
tty: serial: xuartps: Remove .owner field for driver
There is no need to init .owner field.
Based on the patch from Peter Griffin <peter.griffin@linaro.org>
"mmc: remove .owner field for drivers using module_platform_driver"
This patch removes the superflous .owner field for drivers which
use the module_platform_driver API, as this is overriden in
platform_driver_register anyway."
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/xilinx_uartps.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 01951d27cc03..c3c252db8b61 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -1428,7 +1428,6 @@ static struct platform_driver cdns_uart_platform_driver = { .probe = cdns_uart_probe, .remove = cdns_uart_remove, .driver = { - .owner = THIS_MODULE, .name = CDNS_UART_NAME, .of_match_table = cdns_uart_of_match, .pm = &cdns_uart_dev_pm_ops, |