]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
I2C: TWL4030: checkpatch.pl fixes to tlw4030.h
authorFelipe Balbi <felipe.balbi@nokia.com>
Fri, 11 Apr 2008 08:28:17 +0000 (11:28 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 11 Apr 2008 18:52:40 +0000 (11:52 -0700)
Misc cleanup patch.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/linux/i2c/twl4030.h

index fc11fd0070aa3a1308ad37abbc00900e4e3eb4f2..2452282c3c772e19b3ede1090d9f7865ff7b929c 100644 (file)
  * It is the caller's responsibility to ensure sane values
  */
 int twl4030_i2c_write_u8(u8 mod_no, u8 val, u8 reg);
-int twl4030_i2c_read_u8(u8 mod_no, u8val, u8 reg);
+int twl4030_i2c_read_u8(u8 mod_no, u8 *val, u8 reg);
 
  /*
   * i2c_write: IMPORTANT - Allocate value num_bytes+1 and valid data starts at
   *            Offset 1.
   */
-int twl4030_i2c_write(u8 mod_no, u8 * value, u8 reg, u8 num_bytes);
-int twl4030_i2c_read(u8 mod_no, u8 * value, u8 reg, u8 num_bytes);
+int twl4030_i2c_write(u8 mod_no, u8 *value, u8 reg, u8 num_bytes);
+int twl4030_i2c_read(u8 mod_no, u8 *value, u8 reg, u8 num_bytes);
 
 /*
  * Exported TWL4030 GPIO APIs