summaryrefslogtreecommitdiffstats
path: root/lib/ucs2_string.c
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-02-25 11:07:59 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-25 22:41:48 -0800
commit8247bcb998f2824f89da2eb5ec21f3e7d4fa66a5 (patch)
treef949c7fb2cb6336c2ef55c58f573b7f9abd7256f /lib/ucs2_string.c
parent785d43077f855ef710aa765273d3355efa7c82fe (diff)
downloadlinux-8247bcb998f2824f89da2eb5ec21f3e7d4fa66a5.tar.bz2
staging: unisys: visorbus: Remove unnecessary dev_set_drvdata()
Unnecessary dev_set_drvdata() has been removed since the driver core clears the driver data to NULL after device release or on probe failure. There is no need to manually clear the device driver data to NULL. The Coccinelle semantic patch used to make this change is as follows: //<smpl> @@ struct device *dev; @@ - dev_set_drvdata(dev, NULL); //</smpl> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/ucs2_string.c')
0 files changed, 0 insertions, 0 deletions