From: Frans Klaver Date: Wed, 14 Jan 2015 08:15:38 +0000 (+0100) Subject: power: reset: ltc2952: reduce dependency on global variables X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~133^2~42 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5f67be5200787aacc7143144bdab7efe7cd268a;p=pandora-kernel.git power: reset: ltc2952: reduce dependency on global variables Documentation/CodingStyle ch.4 mentions in a side node that global variables should only be used if you really need them. Reduce the use of the global instance of ltc2952_poweroff so we may eventually remove it entirely. While at it, rename ltc2952_poweroff_data to ltc2952_poweroff, just to save that little bit of typing. Signed-off-by: Frans Klaver Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed