Re: [PATCH v7 5/6] i2c: wmt: add platform type VIAI2C_PLAT_WMT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Wolfram,

+enum {
+	VIAI2C_PLAT_WMT = 1,
+};
Minor, but why not starting at 0?

  struct viai2c {
  	struct i2c_adapter	adapter;
  	struct completion	complete;
@@ -62,11 +66,12 @@ struct viai2c {
  	u16			cmd_status;
  	ktime_t			t1;
  	ktime_t			t2;
+	int			platform;
unsigned int?


will change it.

Hans,
Thank you





[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux