diff options
author | 2017-08-12 22:34:03 +0100 | |
---|---|---|
committer | 2017-08-28 17:20:01 +0200 | |
commit | e5cf84e8224c49f335aec6b69b3e373bbbe4641a (patch) | |
tree | 43ce26e513dbc2feab9c1b28cf683702a281153a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | w1: ds1wm: add messages to make incorporation in mfd-drivers easier (diff) | |
download | wireguard-linux-e5cf84e8224c49f335aec6b69b3e373bbbe4641a.tar.xz wireguard-linux-e5cf84e8224c49f335aec6b69b3e373bbbe4641a.zip |
w1: ds2438: make several functions static
The functions w1_ds2438_get_page, w1_ds2438_get_temperature,
w1_ds2438_change_config_bit and w1_ds2438_get_voltage are local to
the source and do not need to be in global scope, so make it static.
Cleans up sparse warnings:
symbol 'w1_ds2438_get_page' was not declared. Should it be static?
symbol 'w1_ds2438_get_temperature' was not declared. Should it be static?
symbol 'w1_ds2438_change_config_bit' was not declared. Should it be static?
symbol 'w1_ds2438_get_voltage' was not declared. Should it be static?
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions