char: hwicap: Remove unnecessary dev_set_drvdata()
authorMichal Simek <michal.simek@xilinx.com>
Mon, 30 Sep 2013 07:28:36 +0000 (09:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Oct 2013 23:03:31 +0000 (16:03 -0700)
commit12b3af3096cdfb0613da374021167868c6abc9ce
tree957d2a8d78c62e0d97bafeb966c1b1d69daefa5d
parentbc3426897652c05825f8fd5fc1727aac83a2d8bd
char: hwicap: Remove unnecessary dev_set_drvdata()

Driver core clears the driver data to NULL after device_release
or on probe failure, so just remove it from here.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/xilinx_hwicap/xilinx_hwicap.c