diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-08-13 07:53:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-08 19:09:13 -0400 |
commit | 4ebe78655476e5e94ab12867eb732923cae50ea4 (patch) | |
tree | d70f364c8d4274096db5611d8ac9d6b68d8800b9 /drivers/tty/serial/xilinx_uartps.c | |
parent | c10b73905a0bb4b91e6c153dbbf4c2809084e4c2 (diff) |
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/serial/xilinx_uartps.c')
-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 = { | |||
1428 | .probe = cdns_uart_probe, | 1428 | .probe = cdns_uart_probe, |
1429 | .remove = cdns_uart_remove, | 1429 | .remove = cdns_uart_remove, |
1430 | .driver = { | 1430 | .driver = { |
1431 | .owner = THIS_MODULE, | ||
1432 | .name = CDNS_UART_NAME, | 1431 | .name = CDNS_UART_NAME, |
1433 | .of_match_table = cdns_uart_of_match, | 1432 | .of_match_table = cdns_uart_of_match, |
1434 | .pm = &cdns_uart_dev_pm_ops, | 1433 | .pm = &cdns_uart_dev_pm_ops, |