]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: embed the i2c adapter struct
authorAlex Elder <elder@linaro.org>
Mon, 27 Oct 2014 08:48:32 +0000 (03:48 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 27 Oct 2014 08:53:10 +0000 (16:53 +0800)
commit81f4e22732f0a29826168899d7e62839812d34dd
tree92044bd15baff5cf1a8fd59c800878d4d7393b04
parent81d631cae83e32e3dcab0d20d9c387592e1fa230
greybus: embed the i2c adapter struct

We don't need to dynamically allocate the i2c adapter structure, we
can just embed it right in struct gb_i2c_device.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/i2c-gb.c