HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Release coccinelle-0.1.1
[bpt/coccinelle.git]
/
tests
/
strangeorder.res
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
client = NULL;
9
return NULL;
10
}
11
12
client->adapter = adap;
13
if (status < 0) {
14
client = NULL;
15
}
16
return client;
17
}