]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9017eb2266af02ec25171a2406be729e87de6090
tree957d2a8d78c62e0d97bafeb966c1b1d69daefa5d
parent0e039e6ed51c559fc5df55b523e85c3e791d3baa
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