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 (14:11 +0530)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 3 Feb 2014 09:19:40 +0000 (10:19 +0100)
commit0c5b2b915a5863643b4534dabd028d4bb34c3b27
tree237118b6bcdd1ccd3255faa950ec6a04594cf4df
parent3d10302048ab672d1e8993b8a5b50d9e35881853
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>
drivers/reset/core.c