Changeset 5995

Show
Ignore:
Timestamp:
09/27/11 17:17:21 (3 years ago)
Author:
khali
Message:

Modules: Don't name function parameters "register", it's a reserved
compiler keyword.

Location:
lm-sensors/branches/lm-sensors-2.10
Files:
19 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-2.10/CHANGES

    r5990 r5995  
    1010  Module i2c-piix4: ATI SB800 is not actually supported 
    1111  Module it87: Properly decode -128 degrees C (2.6 backport) 
     12  Modules: Don't name function parameters "register" 
    1213  Program eepromer: Fix array initialization overrun 
    1314  Program sensord: Fix a memory leak when a chip name is provided 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/adm1024.c

    r4651 r5995  
    183183static int adm1024_detach_client(struct i2c_client *client); 
    184184 
    185 static int adm1024_read_value(struct i2c_client *client, u8 register); 
    186 static int adm1024_write_value(struct i2c_client *client, u8 register, 
     185static int adm1024_read_value(struct i2c_client *client, u8 reg); 
     186static int adm1024_write_value(struct i2c_client *client, u8 reg, 
    187187                               u8 value); 
    188188static void adm1024_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/adm1026.c

    r5374 r5995  
    334334static int adm1026_detach_client(struct i2c_client *client); 
    335335 
    336 static int adm1026_read_value(struct i2c_client *client, u8 register); 
    337 static int adm1026_write_value(struct i2c_client *client, u8 register, int value); 
     336static int adm1026_read_value(struct i2c_client *client, u8 reg); 
     337static int adm1026_write_value(struct i2c_client *client, u8 reg, int value); 
    338338static void adm1026_print_gpio(struct i2c_client *client); 
    339339static void adm1026_fixup_gpio(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/fscher.c

    r4659 r5995  
    134134static int fscher_detach_client(struct i2c_client *client); 
    135135 
    136 static int fscher_read_value(struct i2c_client *client, u8 register); 
    137 static int fscher_write_value(struct i2c_client *client, u8 register, 
     136static int fscher_read_value(struct i2c_client *client, u8 reg); 
     137static int fscher_write_value(struct i2c_client *client, u8 reg, 
    138138                              u8 value); 
    139139static void fscher_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/fscpos.c

    r4328 r5995  
    138138static int fscpos_detach_client(struct i2c_client *client); 
    139139 
    140 static int fscpos_read_value(struct i2c_client *client, u8 register); 
    141 static int fscpos_write_value(struct i2c_client *client, u8 register, 
     140static int fscpos_read_value(struct i2c_client *client, u8 reg); 
     141static int fscpos_write_value(struct i2c_client *client, u8 reg, 
    142142                            u8 value); 
    143143static void fscpos_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/fscscy.c

    r4328 r5995  
    192192static int fscscy_detach_client(struct i2c_client *client); 
    193193 
    194 static int fscscy_read_value(struct i2c_client *client, u8 register); 
    195 static int fscscy_write_value(struct i2c_client *client, u8 register, 
     194static int fscscy_read_value(struct i2c_client *client, u8 reg); 
     195static int fscscy_write_value(struct i2c_client *client, u8 reg, 
    196196                            u8 value); 
    197197static void fscscy_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/it87.c

    r5686 r5995  
    254254static int it87_detach_client(struct i2c_client *client); 
    255255 
    256 static int it87_read_value(struct i2c_client *client, u8 register); 
    257 static int it87_write_value(struct i2c_client *client, u8 register, 
     256static int it87_read_value(struct i2c_client *client, u8 reg); 
     257static int it87_write_value(struct i2c_client *client, u8 reg, 
    258258                            u8 value); 
    259259static void it87_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/lm78.c

    r5371 r5995  
    144144static int lm78_detach_client(struct i2c_client *client); 
    145145 
    146 static int lm78_read_value(struct i2c_client *client, u8 register); 
    147 static int lm78_write_value(struct i2c_client *client, u8 register, 
     146static int lm78_read_value(struct i2c_client *client, u8 reg); 
     147static int lm78_write_value(struct i2c_client *client, u8 reg, 
    148148                            u8 value); 
    149149static void lm78_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/lm85.c

    r5374 r5995  
    420420                        unsigned short flags, int kind); 
    421421static int lm85_detach_client(struct i2c_client *client); 
    422 static int lm85_read_value(struct i2c_client *client, u16 register); 
    423 static int lm85_write_value(struct i2c_client *client, u16 register, int value); 
     422static int lm85_read_value(struct i2c_client *client, u16 reg); 
     423static int lm85_write_value(struct i2c_client *client, u16 reg, int value); 
    424424static void lm85_update_client(struct i2c_client *client); 
    425425static void lm85_init_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/lm87.c

    r4891 r5995  
    222222static int lm87_detach_client(struct i2c_client *client); 
    223223 
    224 static int lm87_read_value(struct i2c_client *client, u8 register); 
    225 static int lm87_write_value(struct i2c_client *client, u8 register, 
     224static int lm87_read_value(struct i2c_client *client, u8 reg); 
     225static int lm87_write_value(struct i2c_client *client, u8 reg, 
    226226                               u8 value); 
    227227static void lm87_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/maxilife.c

    r4328 r5995  
    269269static int maxi_detach_client(struct i2c_client *client); 
    270270 
    271 static int maxi_read_value(struct i2c_client *client, u8 register); 
     271static int maxi_read_value(struct i2c_client *client, u8 reg); 
    272272static int maxi_read_token(struct i2c_client *client, u16 token); 
    273273#ifndef NOWRITE 
    274 static int maxi_write_value(struct i2c_client *client, u8 register, 
     274static int maxi_write_value(struct i2c_client *client, u8 reg, 
    275275                            u8 value); 
    276276#endif 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/mic74.c

    r4328 r5995  
    8080static int mic74_detach_client(struct i2c_client *client); 
    8181 
    82 static int mic74_read_value(struct i2c_client *client, u8 register); 
    83 static int mic74_write_value(struct i2c_client *client, u8 register, 
     82static int mic74_read_value(struct i2c_client *client, u8 reg); 
     83static int mic74_write_value(struct i2c_client *client, u8 reg, 
    8484                               u8 value); 
    8585static void mic74_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/mtp008.c

    r3147 r5995  
    226226static int mtp008_detach_client(struct i2c_client *client); 
    227227 
    228 static int mtp008_read_value(struct i2c_client *client, u8 register); 
    229 static int mtp008_write_value(struct i2c_client *client, u8 register, u8 value); 
     228static int mtp008_read_value(struct i2c_client *client, u8 reg); 
     229static int mtp008_write_value(struct i2c_client *client, u8 reg, u8 value); 
    230230static void mtp008_update_client(struct i2c_client *client); 
    231231static void mtp008_init_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/sis5595.c

    r4633 r5995  
    194194static int sis5595_detach_client(struct i2c_client *client); 
    195195 
    196 static int sis5595_read_value(struct i2c_client *client, u8 register); 
    197 static int sis5595_write_value(struct i2c_client *client, u8 register, 
     196static int sis5595_read_value(struct i2c_client *client, u8 reg); 
     197static int sis5595_write_value(struct i2c_client *client, u8 reg, 
    198198                               u8 value); 
    199199static void sis5595_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/via686a.c

    r4634 r5995  
    339339static int via686a_detach_client(struct i2c_client *client); 
    340340 
    341 static int via686a_read_value(struct i2c_client *client, u8 register); 
    342 static void via686a_write_value(struct i2c_client *client, u8 register, 
     341static int via686a_read_value(struct i2c_client *client, u8 reg); 
     342static void via686a_write_value(struct i2c_client *client, u8 reg, 
    343343                                u8 value); 
    344344static void via686a_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/vt1211.c

    r4168 r5995  
    223223static int vt1211_detach_client(struct i2c_client *client); 
    224224 
    225 static inline int vt_rdval(struct i2c_client *client, u8 register); 
    226 static inline void vt1211_write_value(struct i2c_client *client, u8 register, 
     225static inline int vt_rdval(struct i2c_client *client, u8 reg); 
     226static inline void vt1211_write_value(struct i2c_client *client, u8 reg, 
    227227                               u8 value); 
    228228static void vt1211_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/vt8231.c

    r3194 r5995  
    172172static int vt8231_detach_client(struct i2c_client *client); 
    173173 
    174 static inline int vt_rdval(struct i2c_client *client, u8 register); 
    175 static inline void vt8231_write_value(struct i2c_client *client, u8 register, 
     174static inline int vt_rdval(struct i2c_client *client, u8 reg); 
     175static inline void vt8231_write_value(struct i2c_client *client, u8 reg, 
    176176                               u8 value); 
    177177static void vt8231_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/w83627hf.c

    r5121 r5995  
    326326static int w83627hf_detach_client(struct i2c_client *client); 
    327327 
    328 static int w83627hf_read_value(struct i2c_client *client, u16 register); 
    329 static int w83627hf_write_value(struct i2c_client *client, u16 register, 
     328static int w83627hf_read_value(struct i2c_client *client, u16 reg); 
     329static int w83627hf_write_value(struct i2c_client *client, u16 reg, 
    330330                               u16 value); 
    331331static void w83627hf_update_client(struct i2c_client *client); 
  • lm-sensors/branches/lm-sensors-2.10/kernel/chips/w83781d.c

    r4651 r5995  
    298298static int w83781d_detach_client(struct i2c_client *client); 
    299299 
    300 static int w83781d_read_value(struct i2c_client *client, u16 register); 
    301 static int w83781d_write_value(struct i2c_client *client, u16 register, 
     300static int w83781d_read_value(struct i2c_client *client, u16 reg); 
     301static int w83781d_write_value(struct i2c_client *client, u16 reg, 
    302302                               u16 value); 
    303303static void w83781d_update_client(struct i2c_client *client);