serial: 8250_dw: Use an unified new dev variable in probe
authorKefeng Wang <wangkefeng.wang@huawei.com>
Thu, 1 Sep 2016 02:24:19 +0000 (10:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 19:04:57 +0000 (21:04 +0200)
commit2cb78eab2376a36d688f6740d60c63739149a4a3
treecd263c023a0617b3e9bda6a931ad403bf04a242c
parent41d98b5da92f8b7bd11885e7c4797197b5f3e2c3
serial: 8250_dw: Use an unified new dev variable in probe

Use an unified new dev variable instead of &pdev->dev and p->dev
in probe function.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c