[PATCH] w1: misc cleanups
This patch contains the following cleanups: - make needlessly global code static - declarations for global code belong into header files - w1.c: #if 0 the unused struct w1_slave_device Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
baf12ae29a
commit
a9fb1c7b95
@@ -28,7 +28,7 @@
|
||||
#include "w1_log.h"
|
||||
#include "w1_io.h"
|
||||
|
||||
int w1_delay_parm = 1;
|
||||
static int w1_delay_parm = 1;
|
||||
module_param_named(delay_coef, w1_delay_parm, int, 0);
|
||||
|
||||
static u8 w1_crc8_table[] = {
|
||||
|
Reference in New Issue
Block a user