]> git.baikalelectronics.ru Git - kernel.git/commit
serial: mfd: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 12 Sep 2013 06:31:06 +0000 (15:31 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 22:41:38 +0000 (15:41 -0700)
commit89c6c4e6aacefc5bbf78196461cda6d5f4b2c2a5
tree2868a20790e6d07d87b2b9a26ffcbde710d5b285
parentee169c26df952522fb2d87618da0eeb34b0757a1
serial: mfd: remove unnecessary pci_set_drvdata()

The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mfd.c