From: Sudip Mukherjee Date: Tue, 24 Mar 2015 15:17:28 +0000 (+0530) Subject: staging: unisys: use local variable in cleanup X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=addceb12a3ed62e50c842f4c8f6099e1ead29ba8;p=pandora-kernel.git staging: unisys: use local variable in cleanup the dev_t was being stored in visorchipset_platform_device.dev.devt while initializing the module. so pass that value as an argument to cleanup() so that it can use this local variable instead of the global variable. Signed-off-by: Sudip Mukherjee Reviewed-by: Dan Carpenter Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed