driver core: dev_set_drvdata returns void
authorJean Delvare <jdelvare@suse.de>
Mon, 14 Apr 2014 10:56:34 +0000 (12:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 20:42:02 +0000 (13:42 -0700)
commit2c1f1ff0f0d9e0df8c9b6d3697ac250900091541
tree66d570535abb71316d786f7e0b13523d2dccb906
parent8283b4919e00fb110ac338d6b9984ca92d5030fa
driver core: dev_set_drvdata returns void

dev_set_drvdata can no longer fail, so it could return void.

All callers have hopefully been updated to no longer check for the
return value.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/dd.c
include/linux/device.h