]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_dw: Use a unified new dev variable in remove
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 6 Aug 2019 09:43:14 +0000 (12:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Sep 2019 10:43:52 +0000 (12:43 +0200)
commitae75ec175f1232668f899b21f7e5b15dcfdb2641
tree369c67f7bef511b808a6a71f5ef4f53492fe6dff
parentaf33bc0ee83afb5ab85a822769cdfb31258c691e
serial: 8250_dw: Use a unified new dev variable in remove

The commit 99bad0751b89 ("serial: 8250_dw: Use a unified new dev variable in
probe") introduced a local dev variable in ->probe(). Do the same in ->remove()
in order to prepare for sequential patches.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Link: https://lore.kernel.org/r/20190806094322.64987-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c