drivers: misc: Mark functions as static in ad525x_dpot.c
authorRashika Kheria <rashika.kheria@gmail.com>
Fri, 13 Dec 2013 06:57:10 +0000 (12:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2013 00:41:52 +0000 (16:41 -0800)
commit1bdd2c45ccc2b1801e3b114fe6fd008439c6c5a9
tree02c4d8d6b0b66fb8677f589008541c7369cc3c4f
parent44629432670ce297f53702a0316a0e7bff0bd28d
drivers: misc: Mark functions as static in ad525x_dpot.c

This patch marks the function ad_dpot_add_files() and
ad_dpot_remove_files() as static in ad525x_dpot.c because they are not
used outside this file.

Thus, it also eliminates the following warnings in ad525x_dpot.c:
drivers/misc/ad525x_dpot.c:644:5: warning: no previous prototype for ‘ad_dpot_add_files’ [-Wmissing-prototypes]
drivers/misc/ad525x_dpot.c:669:13: warning: no previous prototype for ‘ad_dpot_remove_files’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ad525x_dpot.c