reset: Mark function as static and remove unused function in core.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 08:41:10 +0000 (13:41 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Wed, 17 Jun 2015 12:34:05 +0000 (05:34 -0700)
commit507e79c6440e989e0bdc116667d5b1e2bc12d337
tree2226b3a587f26f51d12e5da06bcf11f3fb363932
parent457b981ec50cf225f28bacbd51a948b91d78601d
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 <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
(cherry picked from commit 0c5b2b915a5863643b4534dabd028d4bb34c3b27)

Change-Id: I6c2912c32024e70e81048b3806e53cbc3bf0a1d9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/759022
drivers/reset/core.c