ethernet: moxa: remove unnecessary platform_set_drvdata()
commit092270656d7f05f6d0c4eb79c8a74a2ce1b45bec
authorJingoo Han <jg1.han@samsung.com>
Thu, 22 Aug 2013 01:55:21 +0000 (22 10:55 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Aug 2013 22:12:21 +0000 (22 15:12 -0700)
tree4243d1b714278e942e00844da5e75d603c94757f
parent0f7cc9a3c2bd89b15720dbf358e9b9e62af27126
ethernet: moxa: remove unnecessary platform_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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/moxa/moxart_ether.c