Coccinelle release 1.0.0-rc1
[bpt/coccinelle.git] / tests / strangeorder.res
CommitLineData
34e49164
C
1struct i2c_client *
2i2c_new_device(struct i2c_adapter *adap, struct i2c_board_info const *info)
3{
4 struct i2c_client *client;
5
6 client = kzalloc(sizeof *client, GFP_KERNEL);
7 if (!client) {
8 client = NULL;
9 return NULL;
10 }
11
12 client->adapter = adap;
13 if (status < 0) {
14 client = NULL;
15 }
16 return client;
17}