coccinelle release 0.2.5
[bpt/coccinelle.git] / tests / strangeorder.c
1 struct i2c_client *
2 i2c_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 return NULL;
9
10 client->adapter = adap;
11 if (status < 0) {
12 client = NULL;
13 }
14 return client;
15 }