[PATCH 2/2] i2c: constify i2c_adapter_quirks structures

2016-10-15 Thread Julia Lawall
Check for i2c_adapter_quirks structures that are only stored in the quirks field of an i2c_adapter structure. This field is declared const, so i2c_adapter_quirks structures that have this property can be declared as const also. The semantic patch that makes this change is as follows:

[PATCH 2/2] i2c: constify i2c_adapter_quirks structures

2016-10-15 Thread Julia Lawall
Check for i2c_adapter_quirks structures that are only stored in the quirks field of an i2c_adapter structure. This field is declared const, so i2c_adapter_quirks structures that have this property can be declared as const also. The semantic patch that makes this change is as follows: