From: Jingoo Han Date: Tue, 25 Jun 2013 01:56:07 +0000 (+0900) Subject: video: remove unnecessary platform_set_drvdata() X-Git-Tag: v3.11-rc1~66^2~1^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e21d2170f36602ae2708597aabfbdf54c6144d3e;p=pandora-kernel.git video: remove unnecessary platform_set_drvdata() The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han Cc: Sylwester Nawrocki Acked-by: Kuninori Morimoto Acked-by: Shawn Guo Reviewed-by: H Hartley Sweeten Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed