From: Rashika Kheria Date: Thu, 19 Dec 2013 08:41:10 +0000 (+0530) Subject: reset: Mark function as static and remove unused function in core.c X-Git-Tag: v3.15-rc1~76^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c5b2b915a5863643b4534dabd028d4bb34c3b27;p=pandora-kernel.git reset: Mark function as static and remove unused function in core.c Mark function of_reset_simple_xlate() as static in core.c because it is not used outside this file. Also, remove functions devm_reset_control_put() and devm_reset_control_match() because they are unused. This eliminates the following warnings in core.c: drivers/reset/core.c:46:5: warning: no previous prototype for ‘of_reset_simple_xlate’ [-Wmissing-prototypes] drivers/reset/core.c:262:6: warning: no previous prototype for ‘devm_reset_control_put’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Philipp Zabel --- Reading git-diff-tree failed